gofmt: Replace interface{} with any

Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
2023-06-20 09:08:42 +08:00
parent 43edc4f346
commit 0d56db2dcb
59 changed files with 601 additions and 601 deletions
+2 -2
View File
@@ -53,8 +53,8 @@ func SignResp(ep, body, key string) (resp string) {
return
}
func GetUserStatus() map[string]interface{} {
var r map[string]interface{}
func GetUserStatus() map[string]any {
var r map[string]any
if err := json.Unmarshal([]byte(utils.ReadAllText("assets/as/userStatus.json")), &r); err != nil {
panic(err)
}