|
|
|
|
|
by oppositelock
3090 days ago
|
|
It's a nice reference program to show you what's going on. I build stuff like this for a living. I'd recommend not re-inventing the wheel yourself and using a nice web framework, like Echo (https://github.com/labstack/echo) or Gin (https://github.com/gin-gonic/gin). I prefer Echo due to a cleaner, mockable design, but they're equivalent. You can throw up that web server in 1/10 the code to do the same thing, and using built-in middleware is less work than writing your own. |
|
I don't care for Gin. I'll take a look at Echo.