Discover Packages
github.com/motosh99/minitwit
app
structs
package
Version:
v10.0.1+incompatible
Opens a new window with list of versions in this module.
Published: Jun 4, 2020
License: MIT
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 Follower struct {
Who_id int
Whom_id int
}
type Message struct {
Message_id int `gorm:"AUTO_INCREMENT;PRIMARY_KEY"`
Author_id int `gorm:"not null"`
Text string `gorm:"not null"`
Pub_date string
Flagged int
}
type User struct {
User_id int `gorm:"AUTO_INCREMENT;PRIMARY_KEY"`
Username string `gorm:"not null"`
Email string `gorm:"not null"`
Pw_hash string `gorm:"not null"`
Image_url string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.