convert

package
v1.0.0-beta.95 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SafeConvert

func SafeConvert[T any, U any](value *T, fn func(T) U) *U

func SafeToUTC

func SafeToUTC(t *time.Time) *time.Time

func ToPointer

func ToPointer[T any](value T) *T

func ToStringLike

func ToStringLike[Source, Dest ~string](value *Source) *Dest

Types

This section is empty.

Jump to

Keyboard shortcuts

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