Documentation ¶ Overview ¶ Package utils provides generic utilities and helper functions Supports common operations used across mutexmap implementations utils 包提供泛型工具和辅助函数 支持 mutexmap 实现中使用的通用操作 Index ¶ func Zero[T any]() (x T) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Zero ¶ func Zero[T any]() (x T) Zero returns the zero value for any type T Uses Go's default value initialization through named return parameter Useful when a zero value is needed as a placeholder or default Zero 返回任意类型 T 的零值 通过命名返回参数使用 Go 的默认值初始化 在需要零值作为占位符或默认值时很有用 Types ¶ This section is empty. Source Files ¶ View all Source files zero.go Click to show internal directories. Click to hide internal directories.