ptrify

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 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