feat: Add agent configuration and cleanup scripts for database migrations

This commit is contained in:
wizardchen
2025-11-05 23:18:44 +08:00
parent ae9d0778e9
commit 4fa3adbf3b
126 changed files with 22506 additions and 629 deletions
+11
View File
@@ -0,0 +1,11 @@
package utils
import "encoding/json"
func ToJSON(v interface{}) string {
json, err := json.Marshal(v)
if err != nil {
return ""
}
return string(json)
}