isset

package
v0.0.0-...-4b8cd26 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bool

type Bool struct {
	// contains filtered or unexported fields
}

func (*Bool) Get

func (b *Bool) Get() (bool, error)

Get returns the contained value.

func (*Bool) IsSetBool2Int

func (b *Bool) IsSetBool2Int() int

func (*Bool) IsSetInt2Bool

func (b *Bool) IsSetInt2Bool(i int) Bool

func (*Bool) IsValid

func (b *Bool) IsValid() bool

IsValid returns whether a value has been set

func (*Bool) Reset

func (b *Bool) Reset()

func (*Bool) Set

func (b *Bool) Set(nb bool)

Set a value.

func (*Bool) Unset

func (b *Bool) Unset()

Unset the variable, like setting it to nil

type Time

type Time struct {
	time.Time
	// contains filtered or unexported fields
}

func Now

func Now() Time

Now returns a NTime having the Time now

func (*Time) Get

func (t *Time) Get() (time.Time, error)

Get returns the contained value.

func (*Time) IsValid

func (t *Time) IsValid() bool

IsValid returns whether a value has been set

func (*Time) Set

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

Set a value.

func (*Time) Unset

func (t *Time) Unset()

Unset the variable, like setting it to nil

Jump to

Keyboard shortcuts

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