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

Function FromEntity

service/tag/model.go:16–23  ·  view source on GitHub ↗
(e *tag.Tag)

Source from the content-addressed store, hash-verified

14}
15
16func FromEntity(e *tag.Tag) *Tag {
17 return &Tag{
18 Id: e.UUID,
19 Name: e.Name,
20 CreateTime: e.CreateAt,
21 UpdateTime: e.UpdateAt,
22 }
23}
24
25type CreateTag struct {
26 Id string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected