fix: correct player API struct tag spacing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Code generated by goctl. DO NOT EDIT.
|
||||
// goctl 1.9.2
|
||||
// goctl 1.10.1
|
||||
|
||||
package handler
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
package types
|
||||
|
||||
type CreateServiceReq struct {
|
||||
GameId int64 `json:"gameId, optional"`
|
||||
GameId int64 `json:"gameId,optional"`
|
||||
Title string `json:"title,optional"`
|
||||
Description string `json:"description,optional"`
|
||||
Price float64 `json:"price"`
|
||||
@@ -100,7 +100,7 @@ type UpdatePlayerStatusReq struct {
|
||||
|
||||
type UpdateServiceReq struct {
|
||||
Id int64 `path:"id"`
|
||||
GameId *int64 `json:"gameId, optional"`
|
||||
GameId *int64 `json:"gameId,optional"`
|
||||
Title *string `json:"title,optional"`
|
||||
Description *string `json:"description,optional"`
|
||||
Price *float64 `json:"price,optional"`
|
||||
|
||||
Reference in New Issue
Block a user