started thinking about storing server-side info about kids

This commit is contained in:
Stephen McQuay 2013-02-28 23:25:51 -08:00
parent da59b397fc
commit 9a917e98a5
2 changed files with 7 additions and 0 deletions

6
children.go Normal file
View File

@ -0,0 +1,6 @@
package main
type Child struct {
Name string
Money int
}

View File

@ -12,6 +12,7 @@ import (
var addr = flag.String("addr", ":8000", "address I'll listen on.")
var static_files = flag.String("static", "./static", "location of static files")
var passes_file = flag.String("passes", "passwds.json", "the password database")
var db_file = flag.String("children", "children.json", "the children database")
var template_dir = flag.String("templates", "templates", "template dir")
var add_pw = flag.String("passwd", "", "add this pass to the db")
var check_pw = flag.String("checkpw", "", "check if this pw is in db")