(e *service.Authorization)
| 23 | } |
| 24 | |
| 25 | func FromEntity(e *service.Authorization) *Authorization { |
| 26 | return &Authorization{ |
| 27 | UUID: e.UUID, |
| 28 | Application: e.Application, |
| 29 | Name: e.Name, |
| 30 | Type: e.Type, |
| 31 | Position: e.Position, |
| 32 | TokenName: e.TokenName, |
| 33 | Config: e.Config, |
| 34 | Creator: e.Creator, |
| 35 | Updater: e.Updater, |
| 36 | CreateTime: e.CreateAt, |
| 37 | UpdateTime: e.UpdateAt, |
| 38 | ExpireTime: e.ExpireTime, |
| 39 | HideCredential: e.HideCredential, |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | type Create struct { |
| 44 | UUID string |
nothing calls this directly
no outgoing calls
no test coverage detected