convert

package
v0.0.1-release Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromPtr

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

FromPtr is a safe conversion from ptr to value however this silents if the underlying value is nil thus use with caution

func ToPtr

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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