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

Function createEntityHandler

service/tag/iml.go:72–79  ·  view source on GitHub ↗
(i *CreateTag)

Source from the content-addressed store, hash-verified

70 return []map[string]interface{}{{"uuid": i.Id}}
71}
72func createEntityHandler(i *CreateTag) *tag.Tag {
73 return &tag.Tag{
74 UUID: i.Id,
75 Name: i.Name,
76 CreateAt: time.Now(),
77 UpdateAt: time.Now(),
78 }
79}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected