(i *Create)
| 151 | } |
| 152 | |
| 153 | func createEntityHandler(i *Create) *ai.Balance { |
| 154 | now := time.Now() |
| 155 | return &ai.Balance{ |
| 156 | Uuid: i.Id, |
| 157 | Provider: i.Provider, |
| 158 | ProviderName: i.ProviderName, |
| 159 | Model: i.Model, |
| 160 | ModelName: i.ModelName, |
| 161 | Type: i.Type, |
| 162 | Priority: i.Priority, |
| 163 | CreateAt: now, |
| 164 | UpdateAt: now, |
| 165 | } |
| 166 | } |
| 167 | |
| 168 | func uniquestHandler(i *Create) []map[string]interface{} { |
| 169 | return []map[string]interface{}{{"uuid": i.Id}} |
nothing calls this directly
no outgoing calls
no test coverage detected