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

Function FromEntity

service/system-apikey/model.go:33–44  ·  view source on GitHub ↗
(s *system.APIKey)

Source from the content-addressed store, hash-verified

31}
32
33func FromEntity(s *system.APIKey) *APIKey {
34 return &APIKey{
35 Id: s.UUID,
36 Name: s.Name,
37 Value: s.Value,
38 Creator: s.Creator,
39 Updater: s.Updater,
40 CreateAt: s.CreateAt,
41 UpdateAt: s.UpdateAt,
42 Expired: s.Expired,
43 }
44}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected