geekai/api/service/function/function.go
2023-07-15 21:52:30 +08:00

12 lines
177 B
Go

package function
type Function interface {
Invoke(...interface{}) (string, error)
Name() string
}
type resVo struct {
Code int `json:"code"`
Msg string `json:"msg"`
}