1
0
mirror of https://github.com/beego/bee.git synced 2025-07-10 21:41:01 +00:00

add vendor

This commit is contained in:
astaxie
2016-12-05 23:07:45 +08:00
parent 71e23417c6
commit 28324a2756
141 changed files with 29958 additions and 0 deletions

13
vendor/github.com/jtolds/gls/gen_sym.go generated vendored Normal file
View File

@ -0,0 +1,13 @@
package gls
var (
symPool = &idPool{}
)
// ContextKey is a throwaway value you can use as a key to a ContextManager
type ContextKey struct{ id uint }
// GenSym will return a brand new, never-before-used ContextKey
func GenSym() ContextKey {
return ContextKey{id: symPool.Acquire()}
}