mirror of
https://github.com/yangjian102621/geekai.git
synced 2026-04-11 21:54:26 +08:00
micro fix
This commit is contained in:
@@ -165,7 +165,7 @@ func IntValue(str string, defaultValue int) int {
|
||||
return value
|
||||
}
|
||||
|
||||
func ForceCovert(src any, dst interface{}) error {
|
||||
func ForceCovert(src any, dst any) error {
|
||||
b, err := json.Marshal(src)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user