Add notion of promo
This commit is contained in:
parent
e5b16b0802
commit
000ac334cc
5 changed files with 40 additions and 20 deletions
1
main.go
1
main.go
|
|
@ -60,6 +60,7 @@ func main() {
|
|||
var bind = flag.String("bind", ":8081", "Bind port/socket")
|
||||
var dsn = flag.String("dsn", DSNGenerator(), "DSN to connect to the MySQL server")
|
||||
flag.StringVar(&baseURL, "baseurl", baseURL, "URL prepended to each URL")
|
||||
flag.UintVar(¤tPromo, "current-promo", currentPromo, "Year of the current promotion")
|
||||
flag.Parse()
|
||||
|
||||
// Sanitize options
|
||||
|
|
|
|||
Reference in a new issue