一个使用GO
从网站抓取图片等数据,再将其存入数据库,并提供json
接口。
使用 goquery - a little like that j-thing, only in Go
go get github.com/PuerkitoBio/goquery
使用Go-MySQL-Driver is a lightweight and fast MySQL-Driver for Go's (golang) database/sql package
文档:http://godoc.org/github.com/go-sql-driver/mysql
go get github.com/go-sql-driver/mysql
使用 martini Classy web framework for Go http://martini.codegangsta.io
go get github.com/go-martini/martini
博客:博客