Update golangci-lint and turn it on in CI

This commit is contained in:
Dmitry Kropachev
2024-06-14 13:07:21 -04:00
committed by Sylwia Szunejko
parent a9ab270196
commit ab80d70106
37 changed files with 225 additions and 151 deletions

View File

@@ -21,12 +21,12 @@ func Timestamp(t time.Time) int64 {
}
type using struct {
ttl int64
ttlName string
timestamp int64
timestampName string
timeout time.Duration
timeoutName string
ttl int64
timestamp int64
timeout time.Duration
}
func (u *using) TTL(d time.Duration) *using {