From 94f2b5476f79b9eb28c7d9340173601897fc75fa Mon Sep 17 00:00:00 2001 From: Tallone Date: Mon, 26 Feb 2024 17:05:36 +0800 Subject: [PATCH] fix typo --- container/gpool/gpool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container/gpool/gpool.go b/container/gpool/gpool.go index d58fb781be0..355853b9ce4 100644 --- a/container/gpool/gpool.go +++ b/container/gpool/gpool.go @@ -25,7 +25,7 @@ type Pool struct { closed *gtype.Bool // Whether the pool is closed. TTL time.Duration // Time To Live for pool items. NewFunc func() (interface{}, error) // Callback function to create pool item. - // ExpireFunc is the for expired items destruction. + // ExpireFunc is the function for expired items destruction. // This function needs to be defined when the pool items // need to perform additional destruction operations. // Eg: net.Conn, os.File, etc.