Go: merge functions (#16622)

### Summary

Merge HTTP response functions into common/response.go

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2026-07-06 18:14:05 +08:00
committed by GitHub
parent ed52255868
commit b3d536c48e
49 changed files with 2046 additions and 4342 deletions

View File

@@ -47,6 +47,7 @@ const (
CodeNotFound ErrorCode = 404
CodeConflict ErrorCode = 409
CodeServerError ErrorCode = 500
CodeNotImplemented ErrorCode = 501
)
var errorMessages = map[ErrorCode]string{