♻️ Use standard getter/setter names
This commit is contained in:
parent
7fd3192f51
commit
f27c669aeb
5 changed files with 41 additions and 37 deletions
2
new.go
2
new.go
|
|
@ -24,5 +24,5 @@ func NewBadRequest(format string, parts ...any) SettableError {
|
|||
func NewInternalError(format string, parts ...any) SettableError {
|
||||
status := http.StatusInternalServerError
|
||||
msg := "Unknown Error"
|
||||
return Errorf(status, format, parts...).Msg(msg)
|
||||
return Errorf(status, format, parts...).SetMsg(msg)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue