docs: fix grammar in package and Error doc comments

This commit is contained in:
auto 2026-04-20 21:52:12 +08:00 committed by Bojun Chai
parent d3ffc99852
commit 1965971a1d
2 changed files with 2 additions and 2 deletions

2
doc.go
View File

@ -1,5 +1,5 @@
/*
Package gin implements a HTTP web framework called gin.
Package gin implements an HTTP web framework called gin.
See https://gin-gonic.com/ for more information about gin.

View File

@ -28,7 +28,7 @@ const (
ErrorTypeAny ErrorType = 1<<64 - 1
)
// Error represents a error's specification.
// Error represents an error's specification.
type Error struct {
Err error
Type ErrorType