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

Function ToAPIKeyItem

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

Source from the content-addressed store, hash-verified

46}
47
48func ToAPIKeyItem(e *system_apikey.APIKey) *Item {
49 return &Item{
50 SimpleItem: ToAPIKeySimpleItem(e),
51 Creator: auto.UUID(e.Creator),
52 Updater: auto.UUID(e.Updater),
53 CreateAt: auto.TimeLabel(e.CreateAt),
54 UpdateAt: auto.TimeLabel(e.UpdateAt),
55 }
56}

Callers 1

ToAPIKeyFunction · 0.85

Calls 1

ToAPIKeySimpleItemFunction · 0.85

Tested by

no test coverage detected