c01

package
v0.0.0-...-62d810d Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Employee

type Employee struct {
	Profile Profile `json:"profile"`
	Job     Job     `json:"job"`
}

Employee struct.

func (Employee) MarshalEasyJSON

func (v Employee) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Employee) MarshalJSON

func (v Employee) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Employee) UnmarshalEasyJSON

func (v *Employee) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Employee) UnmarshalJSON

func (v *Employee) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Job

type Job struct {
	Skills []string `json:"skills"`
}

Job struct.

func (Job) MarshalEasyJSON

func (v Job) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Job) MarshalJSON

func (v Job) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Job) UnmarshalEasyJSON

func (v *Job) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Job) UnmarshalJSON

func (v *Job) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Profile

type Profile struct {
	Name string `json:"name"`
	Age  int    `json:"age"`
}

Profile struct.

func (Profile) MarshalEasyJSON

func (v Profile) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Profile) MarshalJSON

func (v Profile) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Profile) UnmarshalEasyJSON

func (v *Profile) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Profile) UnmarshalJSON

func (v *Profile) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

Jump to

Keyboard shortcuts

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