model

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Customer

type Customer struct {
	ID        string `json:"id"`
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`
	Age       int    `json:"age"`
	TaxNumber string `json:"taxNumber"`
	City      string `json:"city"`
}

func (Customer) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (Customer) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*Customer) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Customer) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SourceCustomer

type SourceCustomer struct {
	ID        string `json:"id"`
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`
	Age       int    `json:"age"`
	City      string `json:"city"`
}

func (SourceCustomer) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SourceCustomer) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SourceCustomer) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SourceCustomer) UnmarshalJSON

func (v *SourceCustomer) 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