Skip to content

Commit

Permalink
chore: fix some struct names in comments (#2974)
Browse files Browse the repository at this point in the history
Signed-off-by: deferdeter <deferdeter@outlook.com>
  • Loading branch information
deferdeter committed Apr 16, 2024
1 parent 5f72d04 commit 2f8ff56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helpers.go
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion path.go
Expand Up @@ -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
Expand Down

0 comments on commit 2f8ff56

Please sign in to comment.