types

package
v0.0.0-...-f55f069 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2020 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 M

type M struct {
	Username string `json:"Username2"`
}

TODO write testcase for this

type T

type T struct {
	W WeekDay `json:"weekday"`
	// W2 WeekDay2  `json:"weekday2"`
	T time.Time `json:"date"`
}

type User

type User struct {
	M
	FirstName  string    `json:"firstname"`
	SecondName string    `json:"secondName"`
	Tags       []UserTag `json:"tags"`
}

type UserTag

type UserTag struct {
	Tag string `json:"tag"`
}

type WeekDay

type WeekDay int
const (
	SUNDAY WeekDay = 1
	MONDAY WeekDay = 2
)

func (WeekDay) String

func (e WeekDay) String() string

type WeekDay2

type WeekDay2 string
const (
	A  WeekDay2 = "3"
	A2 WeekDay2 = "4"
)

Jump to

Keyboard shortcuts

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