Open MilanSavaliya opened 4 years ago
This had me stuck for a while... you have to put your arguments before "run".. e.g. gin --port $PORT run
I'm also having the same exact problem adding flags.
gin
is built on "gopkg.in/urfave/cli.v1"
which can display a help page using gin help
for anyone wondering how to find out how to supply arguments
OS: Windows 10 Professional Edition Command: gin.exe run --appPort 8081 .\main.go Output:
Is there something I am missing?