@marcel91200 / caddy Mirror · read-only / commits / f71d7790
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 12, 20:45 UTC

chore: Fix usage pool comment (#5916)

WeidiDeng committed Oct 26, 2023 at 11:05 UTC f71d7790090d0de8decda6db4ebbf758a5f1d639
1 file changed +1 -1
usagepool.go
+1 -1
@@ -112,7 +112,7 @@ func (up *UsagePool) LoadOrNew(key any, construct Constructor) (value any, loade
112 // LoadOrStore loads the value associated with key from the pool if it
113 // already exists, or stores it if it does not exist. It returns the
114 // value that was either loaded or stored, and true if the value already
115 -// existed and was
115 +// existed and was loaded, false if the value didn't exist and was stored.
116 func (up *UsagePool) LoadOrStore(key, val any) (value any, loaded bool) {
117 var upv *usagePoolVal
118 up.Lock()