(t *Create)
| 32 | return []map[string]interface{}{{"uuid": t.Id}} |
| 33 | } |
| 34 | func (i *imlAPIKeyService) createEntityHandler(t *Create) *system.APIKey { |
| 35 | now := time.Now() |
| 36 | return &system.APIKey{ |
| 37 | UUID: t.Id, |
| 38 | Name: t.Name, |
| 39 | Value: t.Value, |
| 40 | Expired: t.Expired, |
| 41 | CreateAt: now, |
| 42 | UpdateAt: now, |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | func (i *imlAPIKeyService) updateHandler(e *system.APIKey, t *Update) { |
| 47 | isUpdate := false |
nothing calls this directly
no outgoing calls
no test coverage detected