From 39a88ef650440d0ec00e136bdd1a0a8ae7330534 Mon Sep 17 00:00:00 2001 From: Tallone Date: Tue, 27 Feb 2024 21:09:43 +0800 Subject: [PATCH] fix typo (#3332) --- 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 d58fb781b..355853b9c 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.