Skip to content

Commit

Permalink
refactor some scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dalikewara committed Oct 12, 2024
1 parent c3cbaf0 commit 86eb59e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## 2024

- **v4.6.1 - v4.6.2** (2024-10-12)
- Refactor some scripts

- **v4.6.0** (2024-07-10)
- Minimize example project structure
- Change default infra scripts
Expand Down
4 changes: 2 additions & 2 deletions _base_structure/common/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package common
type ResponseJSON struct {
Status bool `json:"status"`
Message string `json:"message"`
Data interface{} `json:"data,omitempty"`
Errors []string `json:"errors,omitempty"`
Data interface{} `json:"data"`
Errors []string `json:"errors"`
}

func NewResponseJSONSuccess(data interface{}) *ResponseJSON {
Expand Down

0 comments on commit 86eb59e

Please sign in to comment.