enum

package
v0.0.0-...-9808bad Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Weekday

type Weekday int
const (
	Sunday Weekday = iota
	Monday
	Tuesday
	Wednesday
	Thursday
	Friday
	Saturday
)

func (Weekday) MarshalJSON

func (r Weekday) MarshalJSON() ([]byte, error)

MarshalJSON is generated so Weekday satisfies json.Marshaler.

func (*Weekday) UnmarshalJSON

func (r *Weekday) UnmarshalJSON(data []byte) error

UnmarshalJSON is generated so Weekday satisfies json.Unmarshaler.

Jump to

Keyboard shortcuts

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