mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 12:30:54 +00:00
beego: update licence& fix #669
This commit is contained in:
parent
14dee37a21
commit
fefd8ddb5b
16
.go_style
Normal file
16
.go_style
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"file_line": 500,
|
||||||
|
"func_line": 80,
|
||||||
|
"params_num":4,
|
||||||
|
"results_num":3,
|
||||||
|
"formated": true,
|
||||||
|
"pkg_name": true,
|
||||||
|
"camel_name":true,
|
||||||
|
"ignore":[
|
||||||
|
"a/*",
|
||||||
|
"b/*/c/*.go"
|
||||||
|
],
|
||||||
|
"fatal":[
|
||||||
|
"formated"
|
||||||
|
]
|
||||||
|
}
|
9
admin.go
9
admin.go
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package beego
|
package beego
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
9
app.go
9
app.go
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package beego
|
package beego
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
9
beego.go
9
beego.go
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package beego
|
package beego
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
9
cache/cache.go
vendored
9
cache/cache.go
vendored
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package cache
|
package cache
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
9
cache/cache_test.go
vendored
9
cache/cache_test.go
vendored
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package cache
|
package cache
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
9
cache/conv.go
vendored
9
cache/conv.go
vendored
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package cache
|
package cache
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
9
cache/conv_test.go
vendored
9
cache/conv_test.go
vendored
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package cache
|
package cache
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
9
cache/file.go
vendored
9
cache/file.go
vendored
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package cache
|
package cache
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
9
cache/memcache/memcache.go
vendored
9
cache/memcache/memcache.go
vendored
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package cache
|
package cache
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
9
cache/memory.go
vendored
9
cache/memory.go
vendored
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package cache
|
package cache
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
9
cache/redis/redis.go
vendored
9
cache/redis/redis.go
vendored
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package cache
|
package cache
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package beego
|
package beego
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package config
|
package config
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package config
|
package config
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package config
|
package config
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package config
|
package config
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package config
|
package config
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package config
|
package config
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package config
|
package config
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package config
|
package config
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package config
|
package config
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package config
|
package config
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package beego
|
package beego
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package context
|
package context
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package context
|
package context
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package context
|
package context
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package context
|
package context
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package beego
|
package beego
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
9
docs.go
9
docs.go
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package beego
|
package beego
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package beego
|
package beego
|
||||||
|
|
||||||
// FilterRouter defines filter operation before controller handler execution.
|
// FilterRouter defines filter operation before controller handler execution.
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package beego
|
package beego
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
9
flash.go
9
flash.go
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package beego
|
package beego
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package beego
|
package beego
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
15
forms/elements/button.go
Normal file
15
forms/elements/button.go
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
package elements
|
||||||
|
|
||||||
|
type Button struct {
|
||||||
|
Element
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewButton() *Button {
|
||||||
|
b := &Button{}
|
||||||
|
b.options = make(map[string]interface{})
|
||||||
|
b.attributes = make(map[string]interface{})
|
||||||
|
b.labelAttributes = make(map[string]interface{})
|
||||||
|
b.labelOptions = make(map[string]interface{})
|
||||||
|
b.SetAttribute("type", "button")
|
||||||
|
return b
|
||||||
|
}
|
1
forms/elements/captcha.go
Normal file
1
forms/elements/captcha.go
Normal file
@ -0,0 +1 @@
|
|||||||
|
package elements
|
1
forms/elements/checkbox.go
Normal file
1
forms/elements/checkbox.go
Normal file
@ -0,0 +1 @@
|
|||||||
|
package elements
|
1
forms/elements/csrf.go
Normal file
1
forms/elements/csrf.go
Normal file
@ -0,0 +1 @@
|
|||||||
|
package elements
|
1
forms/elements/date.go
Normal file
1
forms/elements/date.go
Normal file
@ -0,0 +1 @@
|
|||||||
|
package elements
|
232
forms/elements/element.go
Normal file
232
forms/elements/element.go
Normal file
@ -0,0 +1,232 @@
|
|||||||
|
package elements
|
||||||
|
|
||||||
|
type LableInterface interface {
|
||||||
|
SetLable(label string)
|
||||||
|
GetLable() (label string)
|
||||||
|
SetLabelAttributes(labelattrs map[string]interface{})
|
||||||
|
GetLabelAttributes() (labelattrs map[string]interface{})
|
||||||
|
SetLabelOptions(labelOptions map[string]interface{})
|
||||||
|
GetLabelOptions() (labelOptions map[string]interface{})
|
||||||
|
ClearLabelOptions()
|
||||||
|
RemoveLabelOptions(keys []string)
|
||||||
|
SetLabelOption(key string, val interface{})
|
||||||
|
GetLabelOption(key string) (val interface{})
|
||||||
|
RemoveLabelOption(key string)
|
||||||
|
HasLabelOption(key string) bool
|
||||||
|
}
|
||||||
|
|
||||||
|
type ElementInterface interface {
|
||||||
|
SetName(name string)
|
||||||
|
GetName() (name string)
|
||||||
|
SetOptions(options map[string]interface{})
|
||||||
|
SetOption(key string, val interface{})
|
||||||
|
GetOptions() (options map[string]interface{})
|
||||||
|
GetOption(key string) (val interface{})
|
||||||
|
SetAttribute(key string, val interface{})
|
||||||
|
GetAttribute(key string) (val interface{})
|
||||||
|
RemoveAttribute(key string)
|
||||||
|
HasAttribute(key string) bool
|
||||||
|
SetAttributes(attributes map[string]interface{})
|
||||||
|
GetAttributes() (attributes map[string]interface{})
|
||||||
|
RemoveAttributes(keys []string)
|
||||||
|
ClearAttributes()
|
||||||
|
SetValue(val interface{})
|
||||||
|
GetValue() (val interface{})
|
||||||
|
SetMessages(msg string)
|
||||||
|
GetMessages() (msg string)
|
||||||
|
SetValidator(v ValidatorInterface)
|
||||||
|
Valid(val interface{}) bool
|
||||||
|
GetMessage() string
|
||||||
|
LableInterface
|
||||||
|
}
|
||||||
|
|
||||||
|
type ValidatorInterface interface {
|
||||||
|
IsValid(val interface{}) bool
|
||||||
|
GetMessages() (msg string)
|
||||||
|
}
|
||||||
|
|
||||||
|
type Element struct {
|
||||||
|
options map[string]interface{}
|
||||||
|
attributes map[string]interface{}
|
||||||
|
labelAttributes map[string]interface{}
|
||||||
|
labelOptions map[string]interface{}
|
||||||
|
value interface{}
|
||||||
|
lable string
|
||||||
|
messages string
|
||||||
|
validator ValidatorInterface
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) SetName(name string) {
|
||||||
|
e.SetAttribute("name", name)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) GetName() (name string) {
|
||||||
|
return e.GetAttribute("name").(string)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) SetOptions(options map[string]interface{}) {
|
||||||
|
if val, ok := options["label"]; ok {
|
||||||
|
e.SetLable(val.(string))
|
||||||
|
}
|
||||||
|
|
||||||
|
if val, ok := options["label_attributes"]; ok {
|
||||||
|
e.SetLabelAttributes(val.(map[string]interface{}))
|
||||||
|
}
|
||||||
|
|
||||||
|
if val, ok := options["label_options"]; ok {
|
||||||
|
e.SetLabelOptions(val.(map[string]interface{}))
|
||||||
|
}
|
||||||
|
e.options = options
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) SetOption(key string, val interface{}) {
|
||||||
|
e.options[key] = val
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) GetOptions() (options map[string]interface{}) {
|
||||||
|
return e.options
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) GetOption(key string) (val interface{}) {
|
||||||
|
if val, ok := e.options[key]; ok {
|
||||||
|
return val
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) SetAttribute(key string, val interface{}) {
|
||||||
|
e.attributes[key] = val
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) GetAttribute(key string) (val interface{}) {
|
||||||
|
if val, ok := e.attributes[key]; ok {
|
||||||
|
return val
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) RemoveAttribute(key string) {
|
||||||
|
delete(e.attributes, key)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) HasAttribute(key string) bool {
|
||||||
|
if _, ok := e.attributes[key]; ok {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) SetAttributes(attributes map[string]interface{}) {
|
||||||
|
for key, val := range attributes {
|
||||||
|
e.SetAttribute(key, val)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) GetAttributes() (attributes map[string]interface{}) {
|
||||||
|
return e.attributes
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) RemoveAttributes(keys []string) {
|
||||||
|
for _, key := range keys {
|
||||||
|
e.RemoveAttribute(key)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) ClearAttributes() {
|
||||||
|
e.attributes = make(map[string]interface{})
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) SetValue(val interface{}) {
|
||||||
|
e.value = val
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) GetValue() (val interface{}) {
|
||||||
|
return e.value
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) SetLable(label string) {
|
||||||
|
e.lable = label
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) GetLable() (label string) {
|
||||||
|
return e.lable
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) SetLabelAttributes(labelattrs map[string]interface{}) {
|
||||||
|
e.labelAttributes = labelattrs
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) GetLabelAttributes() (labelattrs map[string]interface{}) {
|
||||||
|
return e.labelAttributes
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) SetLabelOptions(labelOptions map[string]interface{}) {
|
||||||
|
for key, val := range labelOptions {
|
||||||
|
e.SetLabelOption(key, val)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) GetLabelOptions() (labelOptions map[string]interface{}) {
|
||||||
|
return e.labelOptions
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) ClearLabelOptions() {
|
||||||
|
e.labelOptions = make(map[string]interface{})
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) RemoveLabelOptions(keys []string) {
|
||||||
|
for _, key := range keys {
|
||||||
|
e.RemoveLabelOption(key)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) SetLabelOption(key string, val interface{}) {
|
||||||
|
e.labelOptions[key] = val
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) GetLabelOption(key string) (val interface{}) {
|
||||||
|
if v, ok := e.labelOptions[key]; ok {
|
||||||
|
return v
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) RemoveLabelOption(key string) {
|
||||||
|
delete(e.labelOptions, key)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) HasLabelOption(key string) bool {
|
||||||
|
if _, ok := e.labelOptions[key]; ok {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) SetMessages(msg string) {
|
||||||
|
e.messages = msg
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) GetMessages() (msg string) {
|
||||||
|
return e.messages
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) SetValidator(v ValidatorInterface) {
|
||||||
|
e.validator = v
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) Valid(val interface{}) bool {
|
||||||
|
if e.validator == nil {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
if e.validator.IsValid(val) {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e *Element) GetMessage() string {
|
||||||
|
if e.validator == nil {
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
return e.validator.GetMessages()
|
||||||
|
}
|
1
forms/elements/email.go
Normal file
1
forms/elements/email.go
Normal file
@ -0,0 +1 @@
|
|||||||
|
package elements
|
1
forms/elements/file.go
Normal file
1
forms/elements/file.go
Normal file
@ -0,0 +1 @@
|
|||||||
|
package elements
|
1
forms/elements/hidden.go
Normal file
1
forms/elements/hidden.go
Normal file
@ -0,0 +1 @@
|
|||||||
|
package elements
|
1
forms/elements/image.go
Normal file
1
forms/elements/image.go
Normal file
@ -0,0 +1 @@
|
|||||||
|
package elements
|
1
forms/elements/multicheckbox.go
Normal file
1
forms/elements/multicheckbox.go
Normal file
@ -0,0 +1 @@
|
|||||||
|
package elements
|
1
forms/elements/number.go
Normal file
1
forms/elements/number.go
Normal file
@ -0,0 +1 @@
|
|||||||
|
package elements
|
1
forms/elements/password.go
Normal file
1
forms/elements/password.go
Normal file
@ -0,0 +1 @@
|
|||||||
|
package elements
|
1
forms/elements/radio.go
Normal file
1
forms/elements/radio.go
Normal file
@ -0,0 +1 @@
|
|||||||
|
package elements
|
1
forms/elements/range.go
Normal file
1
forms/elements/range.go
Normal file
@ -0,0 +1 @@
|
|||||||
|
package elements
|
1
forms/elements/select.go
Normal file
1
forms/elements/select.go
Normal file
@ -0,0 +1 @@
|
|||||||
|
package elements
|
15
forms/elements/submit.go
Normal file
15
forms/elements/submit.go
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
package elements
|
||||||
|
|
||||||
|
type Submit struct {
|
||||||
|
Element
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewSubmit() *Submit {
|
||||||
|
b := &Submit{}
|
||||||
|
b.options = make(map[string]interface{})
|
||||||
|
b.attributes = make(map[string]interface{})
|
||||||
|
b.labelAttributes = make(map[string]interface{})
|
||||||
|
b.labelOptions = make(map[string]interface{})
|
||||||
|
b.SetAttribute("type", "submit")
|
||||||
|
return b
|
||||||
|
}
|
15
forms/elements/text.go
Normal file
15
forms/elements/text.go
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
package elements
|
||||||
|
|
||||||
|
type Text struct {
|
||||||
|
Element
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewText() *Text {
|
||||||
|
b := &Text{}
|
||||||
|
b.options = make(map[string]interface{})
|
||||||
|
b.attributes = make(map[string]interface{})
|
||||||
|
b.labelAttributes = make(map[string]interface{})
|
||||||
|
b.labelOptions = make(map[string]interface{})
|
||||||
|
b.SetAttribute("type", "text")
|
||||||
|
return b
|
||||||
|
}
|
15
forms/elements/textarea.go
Normal file
15
forms/elements/textarea.go
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
package elements
|
||||||
|
|
||||||
|
type Textarea struct {
|
||||||
|
Element
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewTextarea() *Textarea {
|
||||||
|
b := &Textarea{}
|
||||||
|
b.options = make(map[string]interface{})
|
||||||
|
b.attributes = make(map[string]interface{})
|
||||||
|
b.labelAttributes = make(map[string]interface{})
|
||||||
|
b.labelOptions = make(map[string]interface{})
|
||||||
|
b.SetAttribute("type", "textarea")
|
||||||
|
return b
|
||||||
|
}
|
1
forms/elements/time.go
Normal file
1
forms/elements/time.go
Normal file
@ -0,0 +1 @@
|
|||||||
|
package elements
|
1
forms/elements/url.go
Normal file
1
forms/elements/url.go
Normal file
@ -0,0 +1 @@
|
|||||||
|
package elements
|
57
forms/form.go
Normal file
57
forms/form.go
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
// Beego (http://beego.me/)
|
||||||
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
// @authors astaxie
|
||||||
|
|
||||||
|
package forms
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/astaxie/beego/forms/elements"
|
||||||
|
)
|
||||||
|
|
||||||
|
type Form struct {
|
||||||
|
elements map[string]elements.ElementInterface
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewForm() *Form {
|
||||||
|
f := &Form{}
|
||||||
|
f.elements = make(map[string]elements.ElementInterface)
|
||||||
|
return f
|
||||||
|
}
|
||||||
|
|
||||||
|
func (f *Form) Init() *Form {
|
||||||
|
f.elements = make(map[string]elements.ElementInterface)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (f *Form) Valid(data map[string]interface{}) bool {
|
||||||
|
for k, val := range data {
|
||||||
|
if e, ok := f.elements[k]; ok {
|
||||||
|
if !e.Valid(val) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
func (f *Form) SetData() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func (f *Form) Bind() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func (f *Form) SaveData() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func (f *Form) AddElement(e elements.ElementInterface) {
|
||||||
|
name := e.GetName()
|
||||||
|
f.elements[name] = e
|
||||||
|
}
|
||||||
|
|
||||||
|
func (f *Form) Render() string {
|
||||||
|
|
||||||
|
}
|
21
forms/form_test.go
Normal file
21
forms/form_test.go
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
package forms
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"testing"
|
||||||
|
|
||||||
|
"./elements"
|
||||||
|
)
|
||||||
|
|
||||||
|
func formTest(t *testing.T) {
|
||||||
|
rf := NewForm()
|
||||||
|
username := elements.NewText()
|
||||||
|
username.SetAttribute("name", "username")
|
||||||
|
username.SetAttribute("id", "username")
|
||||||
|
rf.AddElement(username)
|
||||||
|
|
||||||
|
button := elements.NewSubmit()
|
||||||
|
rf.AddElement(rf)
|
||||||
|
|
||||||
|
fmt.Println(rf.Render())
|
||||||
|
}
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package httplib
|
package httplib
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package httplib
|
package httplib
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
9
log.go
9
log.go
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package beego
|
package beego
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package logs
|
package logs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package logs
|
package logs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package logs
|
package logs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package logs
|
package logs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package logs
|
package logs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package logs
|
package logs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package logs
|
package logs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package logs
|
package logs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package logs
|
package logs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package beego
|
package beego
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package middleware
|
package middleware
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package middleware
|
package middleware
|
||||||
|
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package middleware
|
package middleware
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
9
mime.go
9
mime.go
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package beego
|
package beego
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package beego
|
package beego
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
|
||||||
package beego
|
package beego
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
// oracle dbBaser
|
// oracle dbBaser
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
// Beego (http://beego.me/)
|
// Beego (http://beego.me/)
|
||||||
|
//
|
||||||
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
// @description beego is an open-source, high-performance web framework for the Go programming language.
|
||||||
|
//
|
||||||
// @link http://github.com/astaxie/beego for the canonical source repository
|
// @link http://github.com/astaxie/beego for the canonical source repository
|
||||||
|
//
|
||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
|
//
|
||||||
// @authors astaxie, slene
|
// @authors astaxie, slene
|
||||||
|
|
||||||
package orm
|
package orm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user