1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-07 20:17:05 +00:00

add x/errors.OK, Create, NoContent and NoContentOrNotModified package-level generic functions as custom service helpers

This commit is contained in:
Gerasimos (Makis) Maropoulos
2024-01-04 03:33:00 +02:00
parent 56754ff5cc
commit 1ae4e71176
9 changed files with 345 additions and 108 deletions

View File

@@ -14,6 +14,8 @@ var (
New = errors.New
// Unwrap is an alias of the standard errors.Unwrap function.
Unwrap = errors.Unwrap
// Join is an alias of the standard errors.Join function.
Join = errors.Join
)
func sprintf(format string, args ...interface{}) string {