Make it possible to change more user fields
This commit is contained in:
parent
7ee70b24ee
commit
fc56c1406a
8 changed files with 113 additions and 73 deletions
|
|
@ -33,3 +33,6 @@ func NewErrorStatus(status int, mesg_format string, args ...any) *ErrorWithStatu
|
|||
Status: status,
|
||||
}
|
||||
}
|
||||
func NewForbidden(mesg_format string, args ...any) *ErrorWithStatus {
|
||||
return NewErrorStatus(http.StatusForbidden, mesg_format, args...)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue