Add App extras info

This commit is contained in:
王振威
2016-03-02 10:45:13 +08:00
parent a2943485b1
commit 88ea7cbec8
2 changed files with 3 additions and 1 deletions

2
app.go
View File

@@ -62,6 +62,8 @@ type App struct {
Email string
// Writer writer to write output to
Writer io.Writer
// Other custom info
Extras map[string]interface{}
}
// Tries to find out when this binary was compiled.