diff --git a/go.mod b/go.mod index cc74904..9752802 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/fufuok/bytespool v1.4.0 github.com/fufuok/chanx v1.2.2 github.com/fufuok/cron v0.3.2 - github.com/fufuok/freelru v0.13.3 + github.com/fufuok/freelru v0.15.0 github.com/fufuok/ntp v1.0.0 github.com/fufuok/utils v1.2.10 github.com/gin-gonic/gin v1.10.0 diff --git a/go.sum b/go.sum index 8280b12..8d0de99 100644 --- a/go.sum +++ b/go.sum @@ -40,8 +40,8 @@ github.com/fufuok/chanx v1.2.2 h1:ZTv6af8N07mKnhzR0DU6tk9RZhsB3ffMY4N0spDhmSA= github.com/fufuok/chanx v1.2.2/go.mod h1:d9WAtwHbIqRIEuZqfaD6v9O+x/9Y+rGNgUuBnSwbyJU= github.com/fufuok/cron v0.3.2 h1:kFElN4SnLEnE8vWZhLlNv9WgHLdWVfepSYeoyK9V9Pg= github.com/fufuok/cron v0.3.2/go.mod h1:fbTEmIk30P2o35BqPgCNSm8MvnC1XjNojtPlgJk4/lY= -github.com/fufuok/freelru v0.13.3 h1:x8c0mmJ5d8Ddr4Lxw1KjZkvgeIblor7OAKH1wshq80M= -github.com/fufuok/freelru v0.13.3/go.mod h1:6B/BCmtS+iIJmAFmCDfSUaLsuQtPio0BpBkPuAOgQ0k= +github.com/fufuok/freelru v0.15.0 h1:MnXaL/51hI3W89egbl190GmeUWf5R6fnVgk3VTqEsA4= +github.com/fufuok/freelru v0.15.0/go.mod h1:6B/BCmtS+iIJmAFmCDfSUaLsuQtPio0BpBkPuAOgQ0k= github.com/fufuok/ntp v1.0.0 h1:xGm9RBUrHGt1RDbzSoZtLsglRjwjzrxaKetHBZG9UGI= github.com/fufuok/ntp v1.0.0/go.mod h1:K+adSFG6KYUvHRKPZEFP1jj3GFSvEU31AvuCbt7u92Q= github.com/fufuok/utils v1.2.10 h1:hGPjpZRXn4iuPZHGFKkCejafiSC+h6MvWeDtC0Yye1g= diff --git a/json/json.go b/json/json.go index 8ca20b7..0ba5a85 100644 --- a/json/json.go +++ b/json/json.go @@ -9,7 +9,7 @@ import ( "github.com/fufuok/utils" ) -type RawMessage []byte +type RawMessage []byte // nolint: recvcheck // MarshalJSON returns m as the JSON encoding of m. func (m RawMessage) MarshalJSON() ([]byte, error) {