chore: bump Go to 1.26.1 and golangci-lint to v2.11.2; fix typos and lint nolints

This commit is contained in:
aykhans committed 2026-03-10 02:32:40 +04:00
1 parent 844f139a10
commit 026d05f1bf
12 files changed
+23 -24

No files matched your search

+2 -2
View File
@@ -8,7 +8,7 @@ import (
func NewDefaultRandSource() rand.Source {
now := time.Now().UnixNano()
return rand.NewPCG(
uint64(now), //nolint:gosec // G115: Safe conversion; UnixNano timestamp used as random seed, bit pattern is intentional
uint64(now>>32), //nolint:gosec // G115: Safe conversion; right-shifted timestamp for seed entropy, overflow is acceptable
uint64(now),
uint64(now>>32),
)
}