Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Schema ¶
type Schema struct {
User []*User
}
The "schema" for the database is simply a struct that contains a slice of pointers to all of your structs. In this fashion your structs act as database tables. The struct feilds act as database columns And every item within the slice of pointser for the Schema struct is a row of data.
Click to show internal directories.
Click to hide internal directories.