util

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2024 License: MIT Imports: 2 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepCopy

func DeepCopy[A any](source, dest A)

quick way to a struct into another

func Implements

func Implements[T any, I any]() bool

checks if type T implements interface I

func IsNil added in v0.6.1

func IsNil(data any) bool

checck if a value is nil for any type

func Ptr

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

func Type

func Type[T any]() reflect.Type

Types

This section is empty.

Jump to

Keyboard shortcuts

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