feat: bootstrap reusable GoOmni framework
This commit is contained in:
9
response/response.go
Normal file
9
response/response.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package response
|
||||
|
||||
// Response is the standard JSON envelope returned by GoOmni helpers.
|
||||
type Response struct {
|
||||
Code string `json:"code"`
|
||||
Message string `json:"message"`
|
||||
Data any `json:"data,omitempty"`
|
||||
RequestID string `json:"requestId,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user