started thinking about storing server-side info about kids
This commit is contained in:
parent
da59b397fc
commit
9a917e98a5
6
children.go
Normal file
6
children.go
Normal file
@ -0,0 +1,6 @@
|
||||
package main
|
||||
|
||||
type Child struct {
|
||||
Name string
|
||||
Money int
|
||||
}
|
1
main.go
1
main.go
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user