Directories ¶
Path | Synopsis |
---|---|
src
|
|
code.google.com/p/freetype-go/freetype
The freetype package provides a convenient API to draw text onto an image.
|
The freetype package provides a convenient API to draw text onto an image. |
code.google.com/p/freetype-go/freetype/raster
The raster package provides an anti-aliasing 2-D rasterizer.
|
The raster package provides an anti-aliasing 2-D rasterizer. |
code.google.com/p/freetype-go/freetype/truetype
Package truetype provides a parser for the TTF and TTC file formats.
|
Package truetype provides a parser for the TTF and TTC file formats. |
github.com/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. |
github.com/Unknwon/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. |
github.com/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 |
github.com/aybabtme/color
Package color colorizes your terminal strings.
|
Package color colorizes your terminal strings. |
github.com/aybabtme/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. |
github.com/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. |
github.com/codegangsta/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. |
github.com/codegangsta/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. |
github.com/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 |
github.com/lunny/xorm
Package xorm is a simple and powerful ORM for Go.
|
Package xorm is a simple and powerful ORM for Go. |
github.com/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. |
github.com/shxsun/go-uuid
The uuid package generates and inspects UUIDs.
|
The uuid package generates and inspects UUIDs. |
github.com/shxsun/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. |
github.com/shxsun/goyaml
Package goyaml implements YAML support for the Go language.
|
Package goyaml implements YAML support for the Go language. |
github.com/shxsun/klog
beelog project klog utils.go
|
beelog project klog utils.go |
Click to show internal directories.
Click to hide internal directories.