Excellent component finishing for go----Golang

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.