v3

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UserCurrentVersion = loader.NewVersionPanic("0.3")

Functions

func User_0_1_to_0_2_Transformer

func User_0_1_to_0_2_Transformer(container loader.VersionWrapper) error

func User_0_2_Loader

func User_0_2_Loader(src []byte, dst loader.VersionWrapper) error

func User_0_2_to_0_3_Transformer

func User_0_2_to_0_3_Transformer(container loader.VersionWrapper) error

Types

type User

type User struct {
	Home                 string
	AddressButNotTHeSame string
	ANotherGender        string
	Age                  int
}

func (User) MarshalBSON

func (s User) MarshalBSON() ([]byte, error)

func (*User) UnmarshalBSON

func (s *User) UnmarshalBSON(src []byte) error

type UserCurrent

type UserCurrent = User_0_3

type User_0_1

type User_0_1 struct {
	Home    string
	Address string
	Gender  string
}

type User_0_2

type User_0_2 struct {
	Home     string
	XAddress string
	XGender  string
	Age      int
}

type User_0_3

type User_0_3 User

Jump to

Keyboard shortcuts

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