Add README and WIP server lifecycle
This commit is contained in:
parent
96bd6a8602
commit
19a2096193
7 changed files with 118 additions and 2 deletions
|
@ -25,6 +25,7 @@ func addPathOptions(path string) string {
|
|||
func NewStore(path string) (*Store, error) {
|
||||
s := &Store{Path: path}
|
||||
|
||||
// ToDo: should do this at start time instead of create time?
|
||||
conn, err := sql.Open("sqlite3", addPathOptions(path))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue