Skip to content

Commit

Permalink
✏️ fix typo (#2110)
Browse files Browse the repository at this point in the history
✏️ fix typo
  • Loading branch information
nnnkkk7 authored Sep 21, 2022
1 parent b319e8d commit 72397a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions router.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/valyala/fasthttp"
)

// Router defines all router handle interface includes app and group router.
// Router defines all router handle interface, including app and group router.
type Router interface {
Use(args ...interface{}) Router

Expand All @@ -43,7 +43,7 @@ type Router interface {
Name(name string) Router
}

// Route is a struct that holds all metadata for each registered handler
// Route is a struct that holds all metadata for each registered handler.
type Route struct {
// Data for routing
pos uint32 // Position in stack -> important for the sort of the matched routes
Expand Down

1 comment on commit 72397a7

@ReneWerner87
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 72397a7 Previous: 3c46255 Ratio
Benchmark_StatusMessage/default 8.594 ns/op 0 B/op 0 allocs/op 3.263 ns/op 0 B/op 0 allocs/op 2.63

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.