mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 10:27:06 +00:00
update dependencies
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
module myapp
|
||||
|
||||
go 1.24.3
|
||||
go 1.25
|
||||
|
||||
require (
|
||||
github.com/IBM/sarama v1.45.2
|
||||
|
||||
@@ -144,7 +144,7 @@ func (h httpError) Error() string {
|
||||
return fmt.Sprintf("Status Code: %d\nReason: %s", h.Code, h.Reason)
|
||||
}
|
||||
|
||||
func fail(ctx iris.Context, statusCode int, format string, a ...interface{}) {
|
||||
func fail(ctx iris.Context, statusCode int, format string, a ...any) {
|
||||
reason := "unspecified"
|
||||
if format != "" {
|
||||
reason = fmt.Sprintf(format, a...)
|
||||
|
||||
Reference in New Issue
Block a user