Define favorite scripts in user dir

This commit is contained in:
Wancat
2022-11-17 16:54:30 +08:00
parent 3aab4827fe
commit 3ef4dfaa48
7 changed files with 171 additions and 126 deletions

View File

@@ -19,9 +19,6 @@ var HOST string
var store auth.AuthStore
const HTPASSWD_FILE = ".htpasswd"
const DEFAULT_JOURNAL = "ledger.txt"
func init() {
ledgerTpl = template.Must(template.ParseGlob("tx/*"))
flag.StringVar(&DATA_DIR, "d", "data", "data folder")