easykit

package module
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DePtr

func DePtr[T any](p *T) T

func Ptr

func Ptr[T any](v T) *T

Types

type Comparator

type Comparator[T any] func(src, dst T) int

type Number

type Number interface {
	RealNumber | ~complex64 | ~complex128
}

Number is a constraint that matches any numeric type.

type RealNumber

type RealNumber interface {
	~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~float32 | ~float64
}

RealNumber is a constraint that matches any integer or floating-point type.

Directories

Path Synopsis
bean
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL