init push

This commit is contained in:
2026-05-21 19:52:45 +08:00
commit e3f75311ab
1280 changed files with 179173 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package domain
type PWResponse struct {
Message string `json:"message"`
Success bool `json:"success"`
Data any `json:"data,omitempty"`
Code int `json:"code"`
}
type PWResponseErrCode PWResponse
var (
ErrCodeNil = PWResponseErrCode{"success", true, nil, 0}
ErrCodePermissionDenied = PWResponseErrCode{"Permission Denied", false, nil, 40003}
ErrCodeNotFound = PWResponseErrCode{"Not Found", false, nil, 40004}
ErrCodeInternalError = PWResponseErrCode{"Internal Error", false, nil, 50001}
)