diff --git a/binder/README.md b/binder/README.md index 4d75fd1b90..aded1efaa8 100644 --- a/binder/README.md +++ b/binder/README.md @@ -28,7 +28,7 @@ Fiber provides several default binders out of the box: ### Binding into a Struct -Fiber supports binding request data directly into a struct using [gorilla/schema](https://github.com/gorilla/schema). Here's an example: +Fiber supports binding request data directly into a struct using [gofiber/schema](https://github.com/gofiber/schema). Here's an example: ```go // Field names must start with an uppercase letter diff --git a/binder/mapping.go b/binder/mapping.go index bc95d02822..41026a16ad 100644 --- a/binder/mapping.go +++ b/binder/mapping.go @@ -87,7 +87,7 @@ func parse(aliasTag string, out any, data map[string][]string, files ...map[stri return parseToStruct(aliasTag, out, data, files...) } -// Parse data into the struct with gorilla/schema +// Parse data into the struct with gofiber/schema func parseToStruct(aliasTag string, out any, data map[string][]string, files ...map[string][]*multipart.FileHeader) error { // Get decoder from pool schemaDecoder := decoderPoolMap[aliasTag].Get().(*schema.Decoder) //nolint:errcheck,forcetypeassert // not needed diff --git a/error.go b/error.go index f037565783..8d0ca63566 100644 --- a/error.go +++ b/error.go @@ -40,7 +40,7 @@ var ( ErrNoHandlers = errors.New("format: at least one handler is required, but none were set") ) -// gorilla/schema errors +// gofiber/schema errors type ( // ConversionError Conversion error exposes the internal schema.ConversionError for public use. ConversionError = schema.ConversionError