mirror of
https://github.com/luxfi/vm.git
synced 2026-10-30 15:13:40 +00:00
github.com/luxfi/utils is now github.com/luxfi/util. Import paths and the module requirement follow the rename. The local re-export shims under utils/ point at the new path, and tidying moved the old module to an indirect requirement, which published dependencies still pull in. Co-authored-by: Hanzo Dev <[email protected]>
21 lines
504 B
Go
21 lines
504 B
Go
// Package utils provides compatibility with old import path.
|
|
// Deprecated: Use github.com/luxfi/util instead.
|
|
package utils
|
|
|
|
import "github.com/luxfi/util"
|
|
|
|
// Re-export types and functions from github.com/luxfi/util
|
|
type (
|
|
Atomic[T any] = utils.Atomic[T]
|
|
BytesPool = utils.BytesPool
|
|
)
|
|
|
|
var (
|
|
NewAtomic = utils.NewAtomic[any]
|
|
NewBytesPool = utils.NewBytesPool
|
|
RandomBytes = utils.RandomBytes
|
|
AppendSlices = utils.AppendSlices[any]
|
|
Detach = utils.Detach
|
|
Err = utils.Err
|
|
)
|