(e *catalogue.Catalogue)
| 19 | } |
| 20 | |
| 21 | func FromEntity(e *catalogue.Catalogue) *Catalogue { |
| 22 | return &Catalogue{ |
| 23 | Id: e.UUID, |
| 24 | Name: e.Name, |
| 25 | Parent: e.Parent, |
| 26 | Sort: e.Sort, |
| 27 | CreateTime: e.CreateAt, |
| 28 | UpdateTime: e.UpdateAt, |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | type CreateCatalogue struct { |
| 33 | Id string |
nothing calls this directly
no outgoing calls
no test coverage detected