added: template responses package
This commit is contained in:
parent
6ea5edb017
commit
f4c4065812
2 changed files with 27 additions and 0 deletions
6
pkg/responses/successResp.go
Normal file
6
pkg/responses/successResp.go
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
package responses
|
||||
|
||||
type ResponseOK struct {
|
||||
Message string `json:"message" example:"OK"`
|
||||
Info any `json:"info,omitempty"`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue