From 611db14153b5edfd9587a737348308253bdd09f3 Mon Sep 17 00:00:00 2001 From: jincheng9 Date: Sun, 12 Dec 2021 14:03:00 +0800 Subject: [PATCH] fix: description error --- gin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gin.go b/gin.go index 54e1a00c..9bd4c46a 100644 --- a/gin.go +++ b/gin.go @@ -41,7 +41,7 @@ var defaultTrustedCIDRs = []*net.IPNet{ // HandlerFunc defines the handler used by gin middleware as return value. type HandlerFunc func(*Context) -// HandlersChain defines a HandlerFunc array. +// HandlersChain defines a HandlerFunc slice. type HandlersChain []HandlerFunc // Last returns the last handler in the chain. i.e. the last handler is the main one.