35
常用第三方包
source link: https://studygolang.com/articles/14861?amp%3Butm_medium=referral
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
包的介绍
包类似Java中概念, jar
是源代码管理,分发的最小单位。
目前多数包来自 Github
官方包来自 golang.org/x/...
可以在如下网址查询到高频使用的第三方包清单
https://godoc.org
常用清单
-
github.com/astaxie/beego
成熟稳定的Web
框架,包含更过的Web Framework
特性 国内开发者 astaxie -
github.com/go-redis/redis
连接Redis
-
github.com/gomodule/redigo/redis
连接Redis
-
github.com/jinzhu/gorm
数据库ORM
框架,类似Java领域的Hibernate
或MyBatis
国内开发者 -
github.com/sirupsen/logrus
日志框架,类似Java领域的log4j
-
github.com/robfig/cron
定时任务,类似Java领域的Quartz
-
github.com/gin-gonic/gin
精巧高效的Web
框架,多用于提供Web
服务
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK