Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AllTypes ¶
type AllTypes struct {
Uint uint
Uint8 uint8
Uint16 uint16
Uint32 uint32
Uint64 uint64
Int int
Int8 int8
Int16 int16
Int32 int32
Int64 int64
Float32 float32
Float64 float64
Byte byte
Rune rune
String string
zoom.DefaultData
}
The AllTypes struct A struct containing all supported types
type Artist ¶
type Artist struct {
Name string
FavoriteColor *Color
zoom.DefaultData
}
func CreateArtists ¶
func NewArtists ¶
type Friend ¶
type Friend struct {
Name string
Friends []*Friend
zoom.DefaultData
}
func CreateConnectedFriends ¶
func CreateFriends ¶
func NewConnectedFriends ¶
func NewFriends ¶
type ModelWithList ¶
type ModelWithList struct {
List []string `redisType:"list"`
zoom.DefaultData
}
type ModelWithSet ¶
type ModelWithSet struct {
Set []string `redisType:"set"`
zoom.DefaultData
}
type Person ¶
type Person struct {
Name string
Age int
zoom.DefaultData
}
The Person struct
func NewPersons ¶
creates num persons but does not save them
Click to show internal directories.
Click to hide internal directories.