Add archetypes files
This commit is contained in:
2
main.go
2
main.go
@@ -11,7 +11,6 @@ import (
|
|||||||
"github.com/lancatlin/ledger-quicknote/auth"
|
"github.com/lancatlin/ledger-quicknote/auth"
|
||||||
)
|
)
|
||||||
|
|
||||||
var ledgerTpl *template.Template
|
|
||||||
var htmlTpl *template.Template
|
var htmlTpl *template.Template
|
||||||
|
|
||||||
var DATA_DIR string
|
var DATA_DIR string
|
||||||
@@ -20,7 +19,6 @@ var HOST string
|
|||||||
var store auth.AuthStore
|
var store auth.AuthStore
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
ledgerTpl = template.Must(template.ParseGlob("tx/*"))
|
|
||||||
flag.StringVar(&DATA_DIR, "d", "data", "data folder")
|
flag.StringVar(&DATA_DIR, "d", "data", "data folder")
|
||||||
flag.StringVar(&HOST, "b", "127.0.0.1:8000", "binding address")
|
flag.StringVar(&HOST, "b", "127.0.0.1:8000", "binding address")
|
||||||
var hashKeyString string
|
var hashKeyString string
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
{{ .Date }} * cash
|
|
||||||
cash ${{ .Amount }}
|
|
||||||
assets:cash
|
|
||||||
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
{{ .Date }} * withdraw
|
|
||||||
assets:cash ${{ .Amount }}
|
|
||||||
assets:checking
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user