samples

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoTags

type NoTags struct {
	F1 string
	F2 string
}

NoTags has no json tags

type Thing

type Thing struct {
	F1  string `json:"x"`
	F2  []int
	F3  map[byte]float64
	F4  bool        `json:"x_y"`
	F5  bool        `json:"xY"`
	F6  bool        `json:"foo bar"`
	F7  *int        `json:"TitleCase"`
	F8  []string    `json:"a b,omitempty"`
	F9  interface{} `json:"ignore me"`      // nolint: jsonstructlint
	F10 interface{} `json:"also ignore me"` // nolint: foo,jsonstructlint
}

Thing holds other things

Jump to

Keyboard shortcuts

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