matryer/goblueprints

Did I miss here something, or is there flag.Parse() missing?

Opened this issue · 1 comments

addr = flag.String("addr", ":8080", "endpoint address")

I had similar problem. Propably you try starting program at port "3000" with this commands ( this is commands of book ):
go build -o chat.exe
chat.exe -addr=":3000"
It's doesn't works. When you want use any port you should write this commands:
go build -o chat.exe
go run chat.exe -addr="3000"
Have a nice day.