gofmt: Replace interface{} with any
Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
@@ -32,7 +32,7 @@ func AuthKey(ctx *gin.Context) {
|
||||
ctx.Set("dummy_token", serverToken)
|
||||
ctx.Set("authorize_token", authorizeToken)
|
||||
|
||||
authJson, err := json.Marshal(map[string]interface{}{
|
||||
authJson, err := json.Marshal(map[string]any{
|
||||
"client_token": clientToken,
|
||||
"server_token": serverToken,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user