refract(container/gtype): rename package gtype to gatomic (#4274)

This commit is contained in:
John Guo
2025-05-07 19:11:44 +08:00
committed by GitHub
parent f52b7de1cf
commit 1f2fcd39b1
69 changed files with 312 additions and 312 deletions

View File

@ -13,14 +13,14 @@ import (
"go.opentelemetry.io/otel/trace"
"github.com/gogf/gf/v3/container/gtype"
"github.com/gogf/gf/v3/container/gatomic"
"github.com/gogf/gf/v3/encoding/gbinary"
"github.com/gogf/gf/v3/util/grand"
)
var (
randomInitSequence = int32(grand.Intn(math.MaxInt32))
sequence = gtype.NewInt32(randomInitSequence)
sequence = gatomic.NewInt32(randomInitSequence)
)
// NewIDs creates and returns a new trace and span ID.