model

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	Name string
}

Item :

func (*Item) FormatCheck

func (x *Item) FormatCheck() error

FormatCheck : (generated from github.com/podhmo/strangejson/examples/manytypes03.Item)

func (*Item) UnmarshalJSON

func (x *Item) UnmarshalJSON(b []byte) error

UnmarshalJSON : (generated from github.com/podhmo/strangejson/examples/manytypes03.Item)

type Item2

type Item2 Item

Item2 : newtype

func (*Item2) FormatCheck

func (x *Item2) FormatCheck() error

FormatCheck : (generated from github.com/podhmo/strangejson/examples/manytypes03.Item2)

func (*Item2) UnmarshalJSON

func (x *Item2) UnmarshalJSON(b []byte) error

UnmarshalJSON : (generated from github.com/podhmo/strangejson/examples/manytypes03.Item2)

type Item3

type Item3 = Item

Item3 : alias

type Item4

type Item4 struct {
	Name string
}

Item4 : duplicated

func (*Item4) FormatCheck

func (x *Item4) FormatCheck() error

FormatCheck : (generated from github.com/podhmo/strangejson/examples/manytypes03.Item4)

func (*Item4) UnmarshalJSON

func (x *Item4) UnmarshalJSON(b []byte) error

UnmarshalJSON : (generated from github.com/podhmo/strangejson/examples/manytypes03.Item4)

type Item5

type Item5 struct {
	Name string `required:"false"`
}

Item5 : difference only required/unrequired

func (*Item5) FormatCheck

func (x *Item5) FormatCheck() error

FormatCheck : (generated from github.com/podhmo/strangejson/examples/manytypes03.Item5)

func (*Item5) UnmarshalJSON

func (x *Item5) UnmarshalJSON(b []byte) error

UnmarshalJSON : (generated from github.com/podhmo/strangejson/examples/manytypes03.Item5)

type ItemMap

type ItemMap map[string]Item

ItemMap :

type ItemMap2

type ItemMap2 ItemMap

ItemMap2 :

type ItemMap3

type ItemMap3 = ItemMap

ItemMap3 :

type Items

type Items []Item

Items :

type Items2

type Items2 Items

Items2 :

type Items3

type Items3 = Items

Items3 :

Jump to

Keyboard shortcuts

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