This is a creation in Article, where the information may have evolved or changed.
Here are just a few of the best components I've ever seen and feel good about Golang. As a personal note, only introduction, no use instructions.
1. Framework
There are a lot of frameworks for go, but there is no divine framework that can rival spring. So the great God is written by himself directly without the framework. Here I used the 2 frames gin and Beego, the former routing speed, the latter function full. But still I said in front of that sentence, two is not a divine framework, so the beholder, benevolent see bar.
Github.com/gin-gonic/gin
Github.com/astaxie/beego
2.WEB Service
Caddy, similar to Apache,nginx, is a high-performance HTTP/2 and reverse proxy server that naturally supports HTTPS. Very strong.
Github.com/mholt/caddy
3. Database operations
Gorm or Beego Orm, but similar to the previous frame, can be used or not.
Github.com/jinzhu/gorm
4. Package Management Tools
Similar to maven. At present I have only used Govendor, and the others are GODEP and glide. But there is a bad place is the wall or the wall, you have to go through the wall to find.
Github.com/kardianos/govendor
5. Hot restart
Graceful restart is achieved by monitoring the syscall signal volume.
Github.com/fvbock/endless
6.log Records
Github.com/sirupsen/logrus
7. Scheduled Tasks
Github.com/robfig/cron
8. Help Document Generation Tool
After your own application has been compiled, automatically generate help documents for you, perform xxxx-h or XXXX help display assist document
GITHUB.COM/URFAVE/CLI (formerly called GITHUB.COM/CODEGANGSTA/CLI)
9. configuration file Read
Github.com/spf13/viper
10. Memory Management
Supports Redis memory storage
Github.com/coocood/freecache
11.redis Dependency
Github.com/garyburd/redigo