MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / ToAPIKeySimpleItem

Function ToAPIKeySimpleItem

module/system-apikey/dto/output.go:39–46  ·  view source on GitHub ↗
(e *system_apikey.APIKey)

Source from the content-addressed store, hash-verified

37}
38
39func ToAPIKeySimpleItem(e *system_apikey.APIKey) *SimpleItem {
40 return &SimpleItem{
41 Id: e.Id,
42 Name: e.Name,
43 Value: e.Value,
44 Expired: e.Expired,
45 }
46}
47
48func ToAPIKeyItem(e *system_apikey.APIKey) *Item {
49 return &Item{

Callers 1

ToAPIKeyItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected