json

package
v1.0.23 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Person

type Person struct {
	Name     string `json:"name,omitempty" idx:"normal"`
	Phone    string `json:"phone,omitempty" idx:"unique"`
	Age      int32  `json:"age,omitempty" idx:"normal"`
	BirthDay int32  `json:"birthDay,omitempty"`
	Gender   uint8  `json:"gender,omitempty"`
}

func (*Person) DeepCp

func (p *Person) DeepCp() *Person

func (*Person) Marshal

func (p *Person) Marshal() ([]byte, error)

func (*Person) Unmarshal

func (p *Person) Unmarshal(data []byte) error

Jump to

Keyboard shortcuts

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