qor / auth

Golang Authentication solution
MIT License
716 stars 100 forks source link

Readme: add missing import and handle error #40

Closed nicksherron closed 3 years ago

nicksherron commented 4 years ago

The main example was missing gorm import and http.ListenAndServe wasn't handling error. If port 9000 were to already be in use, it would fail silently.

nicksherron commented 4 years ago

I also ran gofmt 😋