Help us shape the future of Go! Take the 2026 Go Developer Survey

ptrify

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTextUnmarshalerStruct

func IsTextUnmarshalerStruct(t reflect.Type) bool

IsTextUnmarshalerStruct indicates whether a struct-type implements encoding.TextUnmarshaler either directly or via its pointer-type

func OmitField

func OmitField(sf reflect.StructField) bool

OmitField returns a boolean indicating whether the field should be skipped because the dials tag value is "-" (`dials:"-"`) or because the field is unexported

func Pointerify

func Pointerify(original reflect.Type, tmpl reflect.Value) reflect.Type

Pointerify takes a type and returns another type with all its members set to pointers of their respective types

Types

This section is empty.

Jump to

Keyboard shortcuts

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