v2

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.2")

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

Types

type User

type User struct {
	Home     string
	XAddress string
	XGender  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_2

type User_0_1

type User_0_1 struct {
	Home    string
	Address string
	Gender  string
}

type User_0_2

type User_0_2 User

Jump to

Keyboard shortcuts

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