mirror of https://github.com/gofiber/fiber.git
chore: fix some struct names in comments (#2974)
Signed-off-by: deferdeter <deferdeter@outlook.com>pull/2983/head
parent
5f72d0489b
commit
2f8ff5662d
|
@ -26,7 +26,7 @@ import (
|
||||||
"github.com/valyala/fasthttp"
|
"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.
|
// along with quality, specificity, parameters, and order.
|
||||||
// Used for sorting accept headers.
|
// Used for sorting accept headers.
|
||||||
type acceptedType struct {
|
type acceptedType struct {
|
||||||
|
|
2
path.go
2
path.go
|
@ -25,7 +25,7 @@ type routeParser struct {
|
||||||
plusCount int // number of plus parameters, used internally to give the plus parameter its number
|
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 {
|
type routeSegment struct {
|
||||||
// const information
|
// const information
|
||||||
Const string // constant part of the route
|
Const string // constant part of the route
|
||||||
|
|
Loading…
Reference in New Issue