Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
Functions ¶
func CreateNote ¶
CreateNote create note info
func DeleteNote ¶
DeleteNote delete note info
Types ¶
type Note ¶
type Note struct { gorm.Model UserID int64 `json:"user_id"` Title string `json:"title"` Content string `json:"content"` }
Click to show internal directories.
Click to hide internal directories.