protodefault

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Duration

func Duration(d **duration.Duration, defaultValue time.Duration)

func Float64

func Float64(s *float64, defaultValue float64)

func Int32

func Int32(s *int32, defaultValue int32)

func NotNil

func NotNil(field interface{})

NotNil ensures that the memory that the field pointer is pointing to is not nil. field must be a valid pointer. It's target is checked for nil-ness and populated if it's nil.

func String

func String(s *string, defaultValue string)

func Uint32

func Uint32(d *uint32, defaultValue uint32)

Types

This section is empty.

Jump to

Keyboard shortcuts

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