package
Version:
v0.0.0-...-c96ccbb
Opens a new window with list of versions in this module.
Published: Apr 14, 2019
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
¶
func CreateTodo(todo *Todo)
func CreateUser(user *User)
type Todo struct {
UID int `json:"uid"`
ID int `json:"id" gorm:"praimaly_key"`
Name string `json:"name"`
Completed bool `json:"completed"`
}
type User struct {
ID int `json:"id" gorm:"praimaly_key"`
Name string `json:"name"`
Password string `json:"password"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.