Discover Packages
github.com/ProdriveTechnologies/snippets
pkg
schema
package
Version:
v0.0.0-...-4c49bc6
Opens a new window with list of versions in this module.
Published: Jan 16, 2019
License: Apache-2.0, Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Post struct {
UserName string `gorm:"primary_key"`
Year int `gorm:"primary_key"`
Week int `gorm:"primary_key"`
BodyThisWeek string
BodyNextWeek string
}
type Subscription struct {
Subscriber string `gorm:"primary_key"`
Subscribee string `gorm:"primary_key"`
}
type User struct {
UserName string `gorm:"primary_key"`
RealName string
EmailAddress string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.