modernize + gofumpt

This commit is contained in:
2025-04-19 22:19:02 -07:00
parent 87344dd601
commit 0996167865
18 changed files with 32 additions and 37 deletions

View File

@@ -14,8 +14,7 @@ import (
)
var monotonicPool = sync.Pool{
New: func() interface{} {
New: func() any {
log := logger.Setup()
var seed int64
@@ -39,7 +38,6 @@ var monotonicPool = sync.Pool{
}
func MakeULID(t time.Time) (*oklid.ULID, error) {
mono := monotonicPool.Get().(io.Reader)
id, err := oklid.New(oklid.Timestamp(t), mono)