feat: support multi model

This commit is contained in:
Zhiqiang Li
2023-03-28 14:34:21 +08:00
parent 7b9dff64c7
commit 1968022907
16 changed files with 162 additions and 112 deletions

10
util/types.go Normal file
View File

@@ -0,0 +1,10 @@
package util
type ApiResponse struct {
Error ErrorDescription `json:"error"`
}
type ErrorDescription struct {
Code string `json:"code"`
Message string `json:"message"`
}