Golang REST API With Mux
Video Statistics and Information
Channel: Traversy Media
Views: 267,756
Rating: undefined out of 5
Keywords: go, golang, go rest api, go lang, golang api, golang rest api, go rest, go lang tutorial
Id: SonwZ6MF5BE
Channel Id: undefined
Length: 44min 2sec (2642 seconds)
Published: Wed Jan 10 2018
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
I while love all these api service tutorial everyone does, but no one ever covers auth/Authz in a microserice environment with service validation. I wish someone would cover that.
Why is nobody that writes these writing tests? One of the primary reasons to use Golang IMO is that it makes TDD very easy. All of those postman tests could have been test-pairs.
Why is main.go the only file they build?
Why doesn't anyone show nice features like build-time vars? (server version as an example using git commit hash)
It's not using packages
None of the common code (like getting an ID) was isolated to a helper method.
No heap escape detection and use of a global without mutex and locking as the store...