Documentation
¶
Index ¶
- func AbsFloat32(f float32) float32
- func ByteToString(b []byte) string
- func ExtractAndBeautifyJSON(input string) (string, error)
- func GetLines(filePath string, m, n int) ([]string, error)
- func Map[T any, U any](src []T, f func(T) U) []U
- func StringToByte(s string) []byte
- func ToElem[T any](v *T) T
- func ToPtr[T any](v T) *T
- func UnzipFile(zipPath, destDir string) error
- func ZipFile(srcDir, zipPath string) error
- type SafeMap
- type SafeSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbsFloat32 ¶
func ByteToString ¶
func ExtractAndBeautifyJSON ¶
func StringToByte ¶
Types ¶
type SafeMap ¶
type SafeMap[K comparable, V any] struct { // contains filtered or unexported fields }
func NewSafeMap ¶
func NewSafeMap[K comparable, V any]() *SafeMap[K, V]
type SafeSet ¶
type SafeSet[T comparable] struct { // contains filtered or unexported fields }
func NewSafeSet ¶
func NewSafeSet[T comparable]() *SafeSet[T]
Click to show internal directories.
Click to hide internal directories.