Discover Packages
github.com/matsu0228/gotest
integrate
repository
package
Version:
v0.0.0-...-f987350
Opens a new window with list of versions in this module.
Published: Dec 20, 2020
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Database is struct of database models
NewDatabase is constructor
Save is updater or inserter
type SomeData struct {
ID int `db:"id"`
Title string `db:"title"`
Body string `db:"body"`
CreatedAt time .Time `db:"created_at"`
UpdatedAt time .Time `db:"updated_at"`
}
SomeData is data sample
Source Files
¶
Click to show internal directories.
Click to hide internal directories.