(ctx context.Context, aid string)
| 135 | } |
| 136 | |
| 137 | func (i *imlAPIService) GetInfo(ctx context.Context, aid string) (*Info, error) { |
| 138 | |
| 139 | info, err := i.apiInfoStore.GetByUUID(ctx, aid) |
| 140 | if err != nil { |
| 141 | return nil, err |
| 142 | } |
| 143 | return FromEntityInfo(info), nil |
| 144 | } |
| 145 | |
| 146 | func (i *imlAPIService) Save(ctx context.Context, id string, model *Edit) error { |
| 147 | if model == nil { |
nothing calls this directly
no test coverage detected