Same issue for me ./main.go:10: undefined: NewRouter
mgiardinelli opened this issue · comments
The original author needs to clarify this for new users.
But in order to run this example. Simple do:
go build
If you do
ls
You'll see a binary file. Just run it (it created api for me), so just run:
./api
and look at localhost:8080
Fixed in #4