adding notes and information

This commit is contained in:
Vincent Batts 2013-05-10 23:44:02 -04:00
parent a403845f58
commit f5f345859c
2 changed files with 14 additions and 1 deletions

8
README
View File

@ -41,6 +41,14 @@ then you can drop that flag out, for quicker lolzing:
2013/02/12 13:00:29 New Image!: http://hurp.til.derp.com:7777/f/lolz.gif
== Dependencies
go get launchpad.net/goyaml
go get labix.org/v2/mgo
and put this imgsrv in your GOPATH,
since it references itself.
== Building
Either

View File

@ -102,7 +102,12 @@ func main() {
}
}
/* http://golang.org/doc/effective_go.html#init */
/*
http://golang.org/doc/effective_go.html#init
TODO refactor flags and config, to assign, instead of pass by reference.
http://play.golang.org/p/XhGqn-MOjL
*/
func init() {
flag.StringVar(&ConfigFile,
"config",