19 lines
245 B
Go
19 lines
245 B
Go
|
package main
|
||
|
|
||
|
import "errors"
|
||
|
|
||
|
type CliDB struct {
|
||
|
Lists []CliList
|
||
|
}
|
||
|
|
||
|
// CreateCliDb builds the CLI App's DB
|
||
|
func (a *App) CreateCliDb() error {
|
||
|
if app.db == nil {
|
||
|
return errors.New("No GaskDB loaded")
|
||
|
}
|
||
|
|
||
|
//var cliDb *CliDB
|
||
|
|
||
|
return nil
|
||
|
}
|