go语言 第三方库
与javascript相关
https://github.com/lazytiger/go-v8V8 JavaScript engine bindings for Go
https://github.com/robertkrimen/otto
A JavaScript interpreter in Go (golang) https://godoc.org/github.com/robertkrimen/otto
https://github.com/PuerkitoBio/goquery
goquery brings a syntax and a set of features similar to jQuery
It is based on Go http://godoc.org/golang.org/x/net/html
package and the CSS Selector library https://github.com/andybalholm/cascadia
goquery 使用go语言写成的HTML解析库 像jQuery那样的方式来操作DOM文档
与数据库有关
github.com/go-sql-driver/mysqlmysql增删改查
https://github.com/gocolly/redisstorage
This is a redis based storage backend for https://github.com/gocolly/colly
https://github.com/jinzhu/gorm
The fantastic ORM library for Golang
http://labix.org/mgo
MongoDB的Go语言驱动 提供 遵循Go语言的简单API 丰富的特性 经过良好测试
https://github.com/siddontang/ledisdb
Ledisdb is a high-performance NoSQL database, similar to Redis written in Go
It supports many data structures including kv, list, hash, zset, set
与网页解析相关
https://github.com/anaskhan96/soupWeb Scraper in Go, similar to BeautifulSoup
https://github.com/andybalholm/cascadia
CSS selector library in Go
https://github.com/antchfx/htmlquery
htmlquery, lets you extract data from HTML documents using XPath expression
https://github.com/antchfx/xmlquery
xmlquery, is XML parser to extract data from XML documents using XPath expression
https://github.com/antchfx/xpath
XPath package for Golang
https://github.com/antchfx/xquery
xquery, extract data or evaluate value from HTML/XML documents using XPath expression in Go
https://github.com/PuerkitoBio/urlesc
Proper URL escaping as per RFC3986
与爬虫相关
https://github.com/hu17889/go_spiderA crawler of vertical communities achieved by GOLANG. An awesome Go
concurrent Crawler(spider) framework. The crawler is flexible and modular
It can be expanded to an Individualized crawler easily or you can use the default crawl components only.
https://github.com/antchfx/antch
Antch, a fast, powerful and extensible web crawling & scraping framework for Go
https://github.com/gocolly/colly
Elegant Scraper and Crawler Framework for Golang
https://github.com/mozillazg/request
A developer-friendly HTTP request library for Gopher.Inspired by https://github.com/kennethreitz/requests Python-Requests
https://github.com/PuerkitoBio/fetchbot
A simple and flexible web crawler that follows the robots.txt policies and crawl delays.
https://github.com/PuerkitoBio/gocrawl
gocrawl is a polite, slim and concurrent web crawler written in Go.
For a simpler yet more flexible web crawler written in a more idiomatic Go style fetchbot , a package that builds on the experience of gocrawl.
https://github.com/temoto/robotstxt
The robots.txt exclusion protocol implementation for Go language
https://github.com/henrylee2cn/pholcus
Pholcus is a distributed high concurrency and powerful web crawler software
https://github.com/henrylee2cn/surfer
surfer is a high level concurrency http client. It has surf andphantom download engines,
highly simulated browser behavior, the function of analog login and so on
WEB相关
https://github.com/ungerik/go-startA high level web-framework for Go
https://github.com/ungerik/go-rest
A small and evil REST framework for Go
区块链相关
https://github.com/tendermint/tendermint/Tendermint 模块化的区块链应用框架 能够实现拜占庭容错 (BFT)
字符处理 字符编码
https://github.com/axgle/mahoniacharacter-set conversion library implemented in Go.
字符匹配
https://github.com/gobwas/glob
This library is created for compile-once patterns. This means, that
compilation could take time, but strings matching is done faster, than in case when always parsing template.
字符处理
https://github.com/jinzhu/inflection
Inflection pluralizes and singularizes English nouns
汉字转拼音pinyin
https://github.com/mozillazg/go-pinyin
https://github.com/saintfish/chardet
library to automatically detect http://en.wikipedia.org/wiki/Character_encoding
of texts for Go programming language . It is based on the algorithm and data in http://icu-project.org/ ICU s implementation
处理路径
https://github.com/kennygrant/sanitizekennygrant/sanitize Package sanitize provides functions to sanitize html and paths with go (golang)
中文分词
https://github.com/huichen/segoGo中文分词 https://github.com/huichen/sego/blob/master/dictionary.go 词典
用双数组trie(Double-Array Trie)实现 https://github.com/huichen/sego/blob/master/segmenter.go 分词器
算法为基于词频的最短路径加动态规划 支持普通和搜索引擎两种分词模式 支持用户词典、词性标注
Jieba 分词 Go 语言版
https://github.com/wangbin/jiebago Jiebago
Go图像处理
http://afocus.github.io/captcha/https://github.com/afocus/captcha
simple captcha for golang (go验证码生成器)
qt5 bindings for go
https://github.com/salviati/go-qt5
Go包管理
https://github.com/gpmgo/gopmGopm (Go Package Manager) is a Go package manage and build tool for Go.Go development environment go1.2
Go终端命令
https://github.com/jawher/mow.clicli provides a framework to build command line applications in Go with most of the burden of arguments parsing and validation placed on the
framework instead of the user.
千年的回眸
Golang 文件系统抽象 Afero
Afero 是文件系统框架,提供简单、统一和通用的API 和任何文件系统进行交互,抽象层提供界面、类型和方法 , Afero 界面简洁,设计简单,舍弃不必要的构造函数和初始化方法
Afero 库提供可交互操作的后台文件系统,与 Afero 协作可保留 os 和 ioutil 软件包的功能和好处
比单独用 os 软件包 性能提升显著,创建 mock 和测试文件系统无需依赖于磁盘
单独 API 访问各类文件系统 多种文件系统类型之间可交互互操作
一组接口后端间的交互操作性 原子跨平台存储备份文件系统
不同文件系统组成复合文件系统 httpFs
o, ioutil & hugo 移植实用函数
http://www.oschina.net/p/afero
https://github.com/spf13/afero