ptr

package
v0.0.0-...-5c487ac Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func String

func String(str string) *string

String returns the address of a string literal. This is needed because Golang does not allow taking the address of a string literal directly. Please see https://golang.org/ref/spec#Address_operators for more information.

func Time

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

Time returns the address of a time variable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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