Directories
¶
Path | Synopsis |
---|---|
Unknwon
|
|
cae/zip
Package zip enables you to transparently read or write ZIP compressed archives and the files inside them.
|
Package zip enables you to transparently read or write ZIP compressed archives and the files inside them. |
com
Package com is an open source project for commonly used functions for the Go programming language.
|
Package com is an open source project for commonly used functions for the Go programming language. |
astaxie
|
|
beego/utils/captcha
an example for use captcha “` package controllers import ( "github.com/astaxie/beego" "github.com/astaxie/beego/cache" "github.com/astaxie/beego/utils/captcha" ) var cpt *captcha.Captcha func init() { // use beego cache system store the captcha data store := cache.NewMemoryCache() cpt = captcha.NewWithFilter("/captcha/", store) } type MainController struct { beego.Controller } func (this *MainController) Get() { this.TplNames = "index.tpl" } func (this *MainController) Post() { this.TplNames = "index.tpl" this.Data["Success"] = cpt.VerifyReq(this.Ctx.Request) } “` template usage “` {{.Success}} <form action="/" method="post"> {{create_captcha}} <input name="captcha" type="text"> </form> “` modifiy and integrated to Beego from https://github.com/dchest/captcha modifiy and integrated to Beego from https://github.com/dchest/captcha
|
an example for use captcha “` package controllers import ( "github.com/astaxie/beego" "github.com/astaxie/beego/cache" "github.com/astaxie/beego/utils/captcha" ) var cpt *captcha.Captcha func init() { // use beego cache system store the captcha data store := cache.NewMemoryCache() cpt = captcha.NewWithFilter("/captcha/", store) } type MainController struct { beego.Controller } func (this *MainController) Get() { this.TplNames = "index.tpl" } func (this *MainController) Post() { this.TplNames = "index.tpl" this.Data["Success"] = cpt.VerifyReq(this.Ctx.Request) } “` template usage “` {{.Success}} <form action="/" method="post"> {{create_captcha}} <input name="captcha" type="text"> </form> “` modifiy and integrated to Beego from https://github.com/dchest/captcha modifiy and integrated to Beego from https://github.com/dchest/captcha |
aybabtme
|
|
color
Package color colorizes your terminal strings.
|
Package color colorizes your terminal strings. |
color/brush
Package brush provides convenience types to use Brush types as plain strings.
|
Package brush provides convenience types to use Brush types as plain strings. |
codegangsta
|
|
inject
Package inject provides utilities for mapping and injecting dependencies in various ways.
|
Package inject provides utilities for mapping and injecting dependencies in various ways. |
martini
Package martini is a powerful package for quickly writing modular web applications/services in Golang.
|
Package martini is a powerful package for quickly writing modular web applications/services in Golang. |
martini-contrib/render
Package render is a middleware for Martini that provides easy JSON serialization and HTML template rendering.
|
Package render is a middleware for Martini that provides easy JSON serialization and HTML template rendering. |
go-sql-driver
|
|
mysql
Go MySQL Driver - A MySQL-Driver for Go's database/sql package The driver should be used via the database/sql package: import "database/sql" import _ "github.com/go-sql-driver/mysql" db, err := sql.Open("mysql", "user:password@/dbname") See https://github.com/go-sql-driver/mysql#usage for details
|
Go MySQL Driver - A MySQL-Driver for Go's database/sql package The driver should be used via the database/sql package: import "database/sql" import _ "github.com/go-sql-driver/mysql" db, err := sql.Open("mysql", "user:password@/dbname") See https://github.com/go-sql-driver/mysql#usage for details |
lunny
|
|
xorm
Package xorm is a simple and powerful ORM for Go.
|
Package xorm is a simple and powerful ORM for Go. |
qiniu
|
|
shxsun
|
|
go-sh
Package go-sh is intented to make shell call with golang more easily.
|
Package go-sh is intented to make shell call with golang more easily. |
go-uuid
The uuid package generates and inspects UUIDs.
|
The uuid package generates and inspects UUIDs. |
go-websocket
Package websocket implements a client and server for the WebSocket protocol as specified in RFC 6455.
|
Package websocket implements a client and server for the WebSocket protocol as specified in RFC 6455. |
goyaml
Package goyaml implements YAML support for the Go language.
|
Package goyaml implements YAML support for the Go language. |
klog
beelog project klog utils.go
|
beelog project klog utils.go |
Click to show internal directories.
Click to hide internal directories.