A few months ago, I started my journey from PHP to Go on a new app in my company.
Some 3 months after, I posted another Article on DEV talking about my feedbacks on the language.
Now it’s the time to share about the libraries & tools I’ve been using so far. Note that I don’t use any framework nor any ORM. Just the right libraries to do the job.
🙋 Purpose: Viper is a full-featured configuration library for production apps
2. Gin Gonic
🙋 Purpose: Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance – up to 40 times faster. If you need smashing performance, get yourself some Gin.
🙋 Purpose: A MongoDB driver for Go
🙋 Purpose: Blazing fast, structured, leveled logging in Go
🙋 Purpose: A safe UUID package originally forked from github.com/satori/go.uuid
🙋 Purpose: Golang implementation of JSON Web Tokens (JWT)
🙋 Purpose: Go code (golang) set of packages that provide many tools for testifying that your code will behave as you intend
🙋 Purpose: YAML support for the Go language
1. Gomock + mockgen
🙋 Purpose: Gomock is a testing library that allows you to mock your dependencies and to make assertions on them. Mockgen is a CLI tool packaged with gomock to create your mocks.
🙋 Purpose: A file watcher allowing you to restart your app, to run your unit tests and much more
I hope that you’ll find some of these libs/tools useful for your needs.
Don’t hesitate to propose the ones you find great.
Thank you for reading!