package
Version:
v0.0.0-...-eef89a0
Opens a new window with list of versions in this module.
Published: Aug 5, 2019
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
CreateTable creates a table in 'db' if table doesn't exits
Open opens database specified in 'p'
PutItem puts item in database
type Item struct {
ID int `json:"id"`
Fact string `json:"fact"`
}
Item is a model for fact item
GetItem returns item from database
Source Files
¶
Click to show internal directories.
Click to hide internal directories.