cast2

package
v0.0.0-...-06831c0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Anys

func Anys[C any](in ...C) (out []any)

Anys converts any kinds of values to a []any slice

func Bool

func Bool(in any, out *bool) error

func Int

func Int(in any, out *int) error

func Meta

func Meta(in any, out *map[string]any) (err error)

Meta casts a value to a map[string]any

func String

func String(in any, out *string) error

func Time

func Time(in any, out *time.Time) error

func TimePtr

func TimePtr(in any, out **time.Time) error

func Uint

func Uint(in any, out *uint) error

func Uint64

func Uint64(in any, out *uint64) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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