gofmt: Replace interface{} with any
Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
+4
-4
@@ -24,13 +24,13 @@ func ProductList(ctx *gin.Context) {
|
||||
LimitAmount: nil,
|
||||
MonthUsed: 0,
|
||||
},
|
||||
SnsProductList: []interface{}{},
|
||||
ProductList: []interface{}{},
|
||||
SubscriptionList: []interface{}{},
|
||||
SnsProductList: []any{},
|
||||
ProductList: []any{},
|
||||
SubscriptionList: []any{},
|
||||
ShowPointShop: true,
|
||||
ServerTimestamp: time.Now().Unix(),
|
||||
},
|
||||
ReleaseInfo: []interface{}{},
|
||||
ReleaseInfo: []any{},
|
||||
StatusCode: 200,
|
||||
}
|
||||
resp, err := json.Marshal(prodReesp)
|
||||
|
||||
Reference in New Issue
Block a user