1. error handling for all routes & models function 2. rename scripts -> queries 3. use [][2]string instead of map[string]string to provide ordered queries list
13 lines
316 B
Go
13 lines
316 B
Go
package main
|
|
|
|
var SCRIPTS = map[string]string{
|
|
"balance assets": "b assets -X $",
|
|
"register": "r --tail 10",
|
|
"balance this month": "b -b \"this month\"",
|
|
}
|
|
|
|
const QUERIES_FILE = "queries.txt"
|
|
const HTPASSWD_FILE = ".htpasswd"
|
|
const DEFAULT_JOURNAL = "ledger.txt"
|
|
const ARCHETYPES_DIR = "archetypes"
|