package ptr
import "go.mau.fi/util/ptr"
Index ¶
Functions ¶
func Clone ¶
func Clone[T any](val *T) *T
func Ptr ¶
func Ptr[T any](val T) *T
func Val ¶
func Val[T any](ptr *T) (val T)
Source Files ¶
ptr.go
- Version
- v0.6.0
- Published
- Jul 16, 2024
- Platform
- darwin/amd64
- Last checked
- 3 hours ago –
Tools for package owners.