p

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: MIT Imports: 1 Imported by: 3

README

Generic pointers to stuff. For APIs that need pointers when you want a literal, or a const, etc.

SomeAnnoyingPtrField: p.T("s"),

That's it.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func F added in v1.0.1

func F(tpl string, args ...any) *string

Return a pointer to a printf'd string

func T

func T[T any](t T) *T

Return a pointer to anything

Types

This section is empty.

Jump to

Keyboard shortcuts

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