1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-07 00:12:00 +00:00

chore: fix some struct names in comments (#2974)

Signed-off-by: deferdeter <deferdeter@outlook.com>
This commit is contained in:
deferdeter 2024-04-16 14:15:13 +08:00 committed by GitHub
parent 5f72d0489b
commit 2f8ff5662d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ import (
"github.com/valyala/fasthttp"
)
// acceptType is a struct that holds the parsed value of an Accept header
// acceptedType is a struct that holds the parsed value of an Accept header
// along with quality, specificity, parameters, and order.
// Used for sorting accept headers.
type acceptedType struct {

View File

@ -25,7 +25,7 @@ type routeParser struct {
plusCount int // number of plus parameters, used internally to give the plus parameter its number
}
// paramsSeg holds the segment metadata
// routeSegment holds the segment metadata
type routeSegment struct {
// const information
Const string // constant part of the route