util

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntPtr

func IntPtr(i int) *int

IntPtr returns a pointer to the given int.

func PtrToString

func PtrToString(s *string) string

PtrToString safely dereferences a string pointer, returning empty string if nil.

func StringPtr

func StringPtr(s string) *string

StringPtr returns a pointer to the given string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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