From c188cbbcb4909c8846c0f4c69d369deb85c74330 Mon Sep 17 00:00:00 2001 From: astaxie Date: Sat, 12 Apr 2014 13:18:18 +0800 Subject: [PATCH] update all files License --- LICENSE | 13 +++++++++++++ admin.go | 6 ++++++ app.go | 6 ++++++ beego.go | 7 ++++++- cache/cache.go | 6 ++++++ cache/cache_test.go | 6 ++++++ cache/conv.go | 6 ++++++ cache/conv_test.go | 6 ++++++ cache/file.go | 11 ++++++----- cache/memcache/memcache.go | 6 ++++++ cache/memory.go | 6 ++++++ cache/redis/redis.go | 6 ++++++ config.go | 6 ++++++ config/config.go | 6 ++++++ config/fake.go | 6 ++++++ config/ini.go | 6 ++++++ config/ini_test.go | 6 ++++++ config/json.go | 6 ++++++ config/json_test.go | 6 ++++++ config/xml/xml.go | 6 ++++++ config/xml/xml_test.go | 6 ++++++ config/yaml/yaml.go | 6 ++++++ config/yaml/yaml_test.go | 6 ++++++ config_test.go | 6 ++++++ context/context.go | 6 ++++++ context/input.go | 6 ++++++ context/input_test.go | 6 ++++++ context/output.go | 6 ++++++ controller.go | 6 ++++++ example/beeapi/controllers/default.go | 7 +++++++ example/beeapi/main.go | 6 ++++++ example/beeapi/models/object.go | 6 ++++++ example/chat/controllers/default.go | 6 ++++++ example/chat/controllers/ws.go | 6 ++++++ example/chat/main.go | 5 +++++ filter.go | 6 ++++++ fiter_test.go | 6 ++++++ flash.go | 6 ++++++ flash_test.go | 6 ++++++ httplib/httplib.go | 6 ++++++ httplib/httplib_test.go | 6 ++++++ log.go | 6 ++++++ logs/conn.go | 6 ++++++ logs/conn_test.go | 6 ++++++ logs/console.go | 6 ++++++ logs/console_test.go | 6 ++++++ logs/file.go | 6 ++++++ logs/file_test.go | 6 ++++++ logs/log.go | 6 ++++++ logs/smtp.go | 6 ++++++ logs/smtp_test.go | 6 ++++++ memzipfile.go | 6 ++++++ middleware/error.go | 6 ++++++ middleware/exceptions.go | 6 ++++++ middleware/i18n.go | 6 ++++++ mime.go | 6 ++++++ orm/cmd.go | 6 ++++++ orm/cmd_utils.go | 6 ++++++ orm/db.go | 6 ++++++ orm/db_alias.go | 6 ++++++ orm/db_mysql.go | 6 ++++++ orm/db_oracle.go | 6 ++++++ orm/db_postgres.go | 6 ++++++ orm/db_sqlite.go | 6 ++++++ orm/db_tables.go | 6 ++++++ orm/db_utils.go | 6 ++++++ orm/models.go | 6 ++++++ orm/models_boot.go | 6 ++++++ orm/models_fields.go | 6 ++++++ orm/models_info_f.go | 6 ++++++ orm/models_info_m.go | 6 ++++++ orm/models_test.go | 6 ++++++ orm/models_utils.go | 6 ++++++ orm/orm.go | 6 ++++++ orm/orm_conds.go | 6 ++++++ orm/orm_log.go | 6 ++++++ orm/orm_object.go | 6 ++++++ orm/orm_querym2m.go | 6 ++++++ orm/orm_queryset.go | 6 ++++++ orm/orm_raw.go | 6 ++++++ orm/orm_test.go | 6 ++++++ orm/types.go | 6 ++++++ orm/utils.go | 6 ++++++ plugins/auth/basic.go | 7 ++++++- reload.go | 6 ++++++ router.go | 6 ++++++ router_test.go | 6 ++++++ session/couchbase/sess_couchbase.go | 6 ++++++ session/mysql/sess_mysql.go | 6 ++++++ session/postgres/sess_postgresql.go | 6 ++++++ session/redis/sess_redis.go | 6 ++++++ session/sess_cookie.go | 6 ++++++ session/sess_cookie_test.go | 6 ++++++ session/sess_file.go | 6 ++++++ session/sess_mem.go | 6 ++++++ session/sess_mem_test.go | 6 ++++++ session/sess_test.go | 6 ++++++ session/sess_utils.go | 6 ++++++ session/session.go | 6 ++++++ staticfile.go | 6 ++++++ template.go | 6 ++++++ template_test.go | 6 ++++++ templatefunc.go | 6 ++++++ templatefunc_test.go | 6 ++++++ testing/client.go | 6 ++++++ toolbox/debug.go | 7 ++++++- toolbox/debug_test.go | 6 ++++++ toolbox/healthcheck.go | 6 ++++++ toolbox/profile.go | 6 ++++++ toolbox/profile_test.go | 6 ++++++ toolbox/statistics.go | 6 ++++++ toolbox/statistics_test.go | 6 ++++++ toolbox/task.go | 6 ++++++ toolbox/task_test.go | 6 ++++++ utils/caller.go | 6 ++++++ utils/caller_test.go | 6 ++++++ utils/captcha/captcha.go | 6 ++++++ utils/captcha/image.go | 7 ++++++- utils/captcha/image_test.go | 6 ++++++ utils/captcha/siprng.go | 7 ++++++- utils/captcha/siprng_test.go | 6 ++++++ utils/file.go | 6 ++++++ utils/file_test.go | 6 ++++++ utils/mail.go | 6 ++++++ utils/mail_test.go | 6 ++++++ utils/rand.go | 6 ++++++ utils/safemap.go | 6 ++++++ utils/safemap_test.go | 6 ++++++ utils/slice.go | 6 ++++++ utils/slice_test.go | 6 ++++++ validation/util.go | 6 ++++++ validation/util_test.go | 6 ++++++ validation/validation.go | 6 ++++++ validation/validation_test.go | 6 ++++++ validation/validators.go | 6 ++++++ 135 files changed, 817 insertions(+), 10 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..5dbd4243 --- /dev/null +++ b/LICENSE @@ -0,0 +1,13 @@ +Copyright 2014 astaxie + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. \ No newline at end of file diff --git a/admin.go b/admin.go index 3a0d782a..e1dd2743 100644 --- a/admin.go +++ b/admin.go @@ -1,3 +1,9 @@ +// 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 beego import ( diff --git a/app.go b/app.go index 80d8d575..1bb36c4d 100644 --- a/app.go +++ b/app.go @@ -1,3 +1,9 @@ +// 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 beego import ( diff --git a/beego.go b/beego.go index 32bfe5e4..c09455d5 100644 --- a/beego.go +++ b/beego.go @@ -1,4 +1,9 @@ -// beego is an open-source, high-performance web framework for the Go programming language +// 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 beego import ( diff --git a/cache/cache.go b/cache/cache.go index 244f9d38..3273e2f9 100644 --- a/cache/cache.go +++ b/cache/cache.go @@ -1,3 +1,9 @@ +// 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 cache import ( diff --git a/cache/cache_test.go b/cache/cache_test.go index 52612cfd..263ad257 100644 --- a/cache/cache_test.go +++ b/cache/cache_test.go @@ -1,3 +1,9 @@ +// 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 cache import ( diff --git a/cache/conv.go b/cache/conv.go index 818dc0c7..00cbdd24 100644 --- a/cache/conv.go +++ b/cache/conv.go @@ -1,3 +1,9 @@ +// 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 cache import ( diff --git a/cache/conv_test.go b/cache/conv_test.go index 90246282..82d73af7 100644 --- a/cache/conv_test.go +++ b/cache/conv_test.go @@ -1,3 +1,9 @@ +// 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 cache import ( diff --git a/cache/file.go b/cache/file.go index d750fecc..7178aa20 100644 --- a/cache/file.go +++ b/cache/file.go @@ -1,8 +1,9 @@ -/** - * package: file - * User: gouki - * Date: 2013-10-22 - 14:22 - */ +// 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 cache import ( diff --git a/cache/memcache/memcache.go b/cache/memcache/memcache.go index bd5ab269..7eea77c8 100644 --- a/cache/memcache/memcache.go +++ b/cache/memcache/memcache.go @@ -1,3 +1,9 @@ +// 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 cache import ( diff --git a/cache/memory.go b/cache/memory.go index e1284b79..2d2f3803 100644 --- a/cache/memory.go +++ b/cache/memory.go @@ -1,3 +1,9 @@ +// 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 cache import ( diff --git a/cache/redis/redis.go b/cache/redis/redis.go index 71c7d67e..451166a3 100644 --- a/cache/redis/redis.go +++ b/cache/redis/redis.go @@ -1,3 +1,9 @@ +// 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 cache import ( diff --git a/config.go b/config.go index 9b722712..2a1589f7 100644 --- a/config.go +++ b/config.go @@ -1,3 +1,9 @@ +// 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 beego import ( diff --git a/config/config.go b/config/config.go index 5e4c2e9c..7446abb4 100644 --- a/config/config.go +++ b/config/config.go @@ -1,3 +1,9 @@ +// 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 config import ( diff --git a/config/fake.go b/config/fake.go index 26a9f430..ece4f696 100644 --- a/config/fake.go +++ b/config/fake.go @@ -1,3 +1,9 @@ +// 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 config import ( diff --git a/config/ini.go b/config/ini.go index 75e6486c..0593864a 100644 --- a/config/ini.go +++ b/config/ini.go @@ -1,3 +1,9 @@ +// 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 config import ( diff --git a/config/ini_test.go b/config/ini_test.go index 08a69e50..3e792ded 100644 --- a/config/ini_test.go +++ b/config/ini_test.go @@ -1,3 +1,9 @@ +// 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 config import ( diff --git a/config/json.go b/config/json.go index 3e3d1d35..a24f9dd6 100644 --- a/config/json.go +++ b/config/json.go @@ -1,3 +1,9 @@ +// 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 config import ( diff --git a/config/json_test.go b/config/json_test.go index e27f6932..4e83470f 100644 --- a/config/json_test.go +++ b/config/json_test.go @@ -1,3 +1,9 @@ +// 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 config import ( diff --git a/config/xml/xml.go b/config/xml/xml.go index 7943d8fe..5028cd45 100644 --- a/config/xml/xml.go +++ b/config/xml/xml.go @@ -1,3 +1,9 @@ +// 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 config import ( diff --git a/config/xml/xml_test.go b/config/xml/xml_test.go index 1e429e06..49f49ea2 100644 --- a/config/xml/xml_test.go +++ b/config/xml/xml_test.go @@ -1,3 +1,9 @@ +// 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 config import ( diff --git a/config/yaml/yaml.go b/config/yaml/yaml.go index bd10b846..65008565 100644 --- a/config/yaml/yaml.go +++ b/config/yaml/yaml.go @@ -1,3 +1,9 @@ +// 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 config import ( diff --git a/config/yaml/yaml_test.go b/config/yaml/yaml_test.go index 51165e7b..bdcc6d42 100644 --- a/config/yaml/yaml_test.go +++ b/config/yaml/yaml_test.go @@ -1,3 +1,9 @@ +// 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 config import ( diff --git a/config_test.go b/config_test.go index d400fd5d..19eaeacf 100644 --- a/config_test.go +++ b/config_test.go @@ -1,3 +1,9 @@ +// 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 beego import ( diff --git a/context/context.go b/context/context.go index 36d566b5..87986bec 100644 --- a/context/context.go +++ b/context/context.go @@ -1,3 +1,9 @@ +// 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 context import ( diff --git a/context/input.go b/context/input.go index 01ab9f3e..8d9b76e6 100644 --- a/context/input.go +++ b/context/input.go @@ -1,3 +1,9 @@ +// 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 context import ( diff --git a/context/input_test.go b/context/input_test.go index 26e95982..f53d013d 100644 --- a/context/input_test.go +++ b/context/input_test.go @@ -1,3 +1,9 @@ +// 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 context import ( diff --git a/context/output.go b/context/output.go index 2d7814e4..06b3d717 100644 --- a/context/output.go +++ b/context/output.go @@ -1,3 +1,9 @@ +// 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 context import ( diff --git a/controller.go b/controller.go index 34b7febd..4dd6709a 100644 --- a/controller.go +++ b/controller.go @@ -1,3 +1,9 @@ +// 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 beego import ( diff --git a/example/beeapi/controllers/default.go b/example/beeapi/controllers/default.go index 88903b4b..c6e53e74 100644 --- a/example/beeapi/controllers/default.go +++ b/example/beeapi/controllers/default.go @@ -1,7 +1,14 @@ +// 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 controllers import ( "encoding/json" + "github.com/astaxie/beego" "github.com/astaxie/beego/example/beeapi/models" ) diff --git a/example/beeapi/main.go b/example/beeapi/main.go index aef0fb35..bed06196 100644 --- a/example/beeapi/main.go +++ b/example/beeapi/main.go @@ -1,3 +1,9 @@ +// 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 main import ( diff --git a/example/beeapi/models/object.go b/example/beeapi/models/object.go index 2c72e6b6..46109c50 100644 --- a/example/beeapi/models/object.go +++ b/example/beeapi/models/object.go @@ -1,3 +1,9 @@ +// 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 models import ( diff --git a/example/chat/controllers/default.go b/example/chat/controllers/default.go index d53bd337..370e6db1 100644 --- a/example/chat/controllers/default.go +++ b/example/chat/controllers/default.go @@ -1,3 +1,9 @@ +// 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 Unknwon + package controllers import ( diff --git a/example/chat/controllers/ws.go b/example/chat/controllers/ws.go index 9b3f5b10..883bf323 100644 --- a/example/chat/controllers/ws.go +++ b/example/chat/controllers/ws.go @@ -1,3 +1,9 @@ +// 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 Unknwon + package controllers import ( diff --git a/example/chat/main.go b/example/chat/main.go index 806fe145..be055b25 100644 --- a/example/chat/main.go +++ b/example/chat/main.go @@ -1,3 +1,8 @@ +// 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 Unknwon package main import ( diff --git a/filter.go b/filter.go index 98868865..8fcd8c82 100644 --- a/filter.go +++ b/filter.go @@ -1,3 +1,9 @@ +// 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 beego import ( diff --git a/fiter_test.go b/fiter_test.go index 7fe9a641..a8573c34 100644 --- a/fiter_test.go +++ b/fiter_test.go @@ -1,3 +1,9 @@ +// 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 beego import ( diff --git a/flash.go b/flash.go index 8adb004b..a67ee5c8 100644 --- a/flash.go +++ b/flash.go @@ -1,3 +1,9 @@ +// 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 beego import ( diff --git a/flash_test.go b/flash_test.go index d329bae4..40eddabb 100644 --- a/flash_test.go +++ b/flash_test.go @@ -1,3 +1,9 @@ +// 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 beego import ( diff --git a/httplib/httplib.go b/httplib/httplib.go index d313c603..6dcc1a5e 100644 --- a/httplib/httplib.go +++ b/httplib/httplib.go @@ -1,3 +1,9 @@ +// 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 httplib import ( diff --git a/httplib/httplib_test.go b/httplib/httplib_test.go index cc56dd88..a0d9d0db 100644 --- a/httplib/httplib_test.go +++ b/httplib/httplib_test.go @@ -1,3 +1,9 @@ +// 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 httplib import ( diff --git a/log.go b/log.go index f374085e..ac72ec34 100644 --- a/log.go +++ b/log.go @@ -1,3 +1,9 @@ +// 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 beego import ( diff --git a/logs/conn.go b/logs/conn.go index eed9ae2f..588e73f4 100644 --- a/logs/conn.go +++ b/logs/conn.go @@ -1,3 +1,9 @@ +// 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 logs import ( diff --git a/logs/conn_test.go b/logs/conn_test.go index 0d55ddd8..e05cbe05 100644 --- a/logs/conn_test.go +++ b/logs/conn_test.go @@ -1,3 +1,9 @@ +// 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 logs import ( diff --git a/logs/console.go b/logs/console.go index 6af6aa16..9316a55e 100644 --- a/logs/console.go +++ b/logs/console.go @@ -1,3 +1,9 @@ +// 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 logs import ( diff --git a/logs/console_test.go b/logs/console_test.go index 041927ca..a8c942c1 100644 --- a/logs/console_test.go +++ b/logs/console_test.go @@ -1,3 +1,9 @@ +// 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 logs import ( diff --git a/logs/file.go b/logs/file.go index 4c560330..f5cbb9ff 100644 --- a/logs/file.go +++ b/logs/file.go @@ -1,3 +1,9 @@ +// 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 logs import ( diff --git a/logs/file_test.go b/logs/file_test.go index 8f50276d..90349ec6 100644 --- a/logs/file_test.go +++ b/logs/file_test.go @@ -1,3 +1,9 @@ +// 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 logs import ( diff --git a/logs/log.go b/logs/log.go index 025da55c..423f9ec3 100644 --- a/logs/log.go +++ b/logs/log.go @@ -1,3 +1,9 @@ +// 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 logs import ( diff --git a/logs/smtp.go b/logs/smtp.go index 19296887..2b9e50a0 100644 --- a/logs/smtp.go +++ b/logs/smtp.go @@ -1,3 +1,9 @@ +// 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 logs import ( diff --git a/logs/smtp_test.go b/logs/smtp_test.go index ae4dd019..cb8d3009 100644 --- a/logs/smtp_test.go +++ b/logs/smtp_test.go @@ -1,3 +1,9 @@ +// 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 logs import ( diff --git a/memzipfile.go b/memzipfile.go index 50c3205f..92d6003a 100644 --- a/memzipfile.go +++ b/memzipfile.go @@ -1,3 +1,9 @@ +// 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 beego import ( diff --git a/middleware/error.go b/middleware/error.go index 3f973eb0..3aff9a80 100644 --- a/middleware/error.go +++ b/middleware/error.go @@ -1,3 +1,9 @@ +// 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 middleware import ( diff --git a/middleware/exceptions.go b/middleware/exceptions.go index b221dfcb..09cb46cb 100644 --- a/middleware/exceptions.go +++ b/middleware/exceptions.go @@ -1,3 +1,9 @@ +// 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 middleware import "fmt" diff --git a/middleware/i18n.go b/middleware/i18n.go index 973a4a6f..10ec12bb 100644 --- a/middleware/i18n.go +++ b/middleware/i18n.go @@ -1,3 +1,9 @@ +// 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 middleware //import ( diff --git a/mime.go b/mime.go index 97ed2449..f611a16e 100644 --- a/mime.go +++ b/mime.go @@ -1,3 +1,9 @@ +// 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 beego import ( diff --git a/orm/cmd.go b/orm/cmd.go index 95be7f4a..ecfc3bd5 100644 --- a/orm/cmd.go +++ b/orm/cmd.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/cmd_utils.go b/orm/cmd_utils.go index 8f6d94db..63cc5a64 100644 --- a/orm/cmd_utils.go +++ b/orm/cmd_utils.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/db.go b/orm/db.go index e84062e8..b67a9bd5 100644 --- a/orm/db.go +++ b/orm/db.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/db_alias.go b/orm/db_alias.go index 6a6623cc..f9d0ab5a 100644 --- a/orm/db_alias.go +++ b/orm/db_alias.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/db_mysql.go b/orm/db_mysql.go index 566f2992..33a01ba4 100644 --- a/orm/db_mysql.go +++ b/orm/db_mysql.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/db_oracle.go b/orm/db_oracle.go index 8e374122..d2253758 100644 --- a/orm/db_oracle.go +++ b/orm/db_oracle.go @@ -1,3 +1,9 @@ +// 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 slene + package orm // oracle dbBaser diff --git a/orm/db_postgres.go b/orm/db_postgres.go index d26511c0..463150dc 100644 --- a/orm/db_postgres.go +++ b/orm/db_postgres.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/db_sqlite.go b/orm/db_sqlite.go index 81692e2c..94c74a69 100644 --- a/orm/db_sqlite.go +++ b/orm/db_sqlite.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/db_tables.go b/orm/db_tables.go index 854c4214..690b4eaa 100644 --- a/orm/db_tables.go +++ b/orm/db_tables.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/db_utils.go b/orm/db_utils.go index da7c9976..8f963f5e 100644 --- a/orm/db_utils.go +++ b/orm/db_utils.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/models.go b/orm/models.go index 59a8a8a1..ff71ee62 100644 --- a/orm/models.go +++ b/orm/models.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/models_boot.go b/orm/models_boot.go index 03caeb62..0b8db512 100644 --- a/orm/models_boot.go +++ b/orm/models_boot.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/models_fields.go b/orm/models_fields.go index 03d714fc..c1c9b7e2 100644 --- a/orm/models_fields.go +++ b/orm/models_fields.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/models_info_f.go b/orm/models_info_f.go index fadbb335..8ec2bbeb 100644 --- a/orm/models_info_f.go +++ b/orm/models_info_f.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/models_info_m.go b/orm/models_info_m.go index 4308c962..265c6379 100644 --- a/orm/models_info_m.go +++ b/orm/models_info_m.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/models_test.go b/orm/models_test.go index 7f845721..785088be 100644 --- a/orm/models_test.go +++ b/orm/models_test.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/models_utils.go b/orm/models_utils.go index d8d7cc25..c448c55e 100644 --- a/orm/models_utils.go +++ b/orm/models_utils.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/orm.go b/orm/orm.go index 920d7f40..5503256e 100644 --- a/orm/orm.go +++ b/orm/orm.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/orm_conds.go b/orm/orm_conds.go index 5b1151e2..4b0cfa65 100644 --- a/orm/orm_conds.go +++ b/orm/orm_conds.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/orm_log.go b/orm/orm_log.go index e6df797a..e132992d 100644 --- a/orm/orm_log.go +++ b/orm/orm_log.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/orm_object.go b/orm/orm_object.go index fa644349..44d4aebc 100644 --- a/orm/orm_object.go +++ b/orm/orm_object.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/orm_querym2m.go b/orm/orm_querym2m.go index f0bc94b7..370de60d 100644 --- a/orm/orm_querym2m.go +++ b/orm/orm_querym2m.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/orm_queryset.go b/orm/orm_queryset.go index f21da552..6d2dd418 100644 --- a/orm/orm_queryset.go +++ b/orm/orm_queryset.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/orm_raw.go b/orm/orm_raw.go index a968e347..ea701cce 100644 --- a/orm/orm_raw.go +++ b/orm/orm_raw.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/orm_test.go b/orm/orm_test.go index 3ae5bc12..5859f426 100644 --- a/orm/orm_test.go +++ b/orm/orm_test.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/types.go b/orm/types.go index 4361c62c..0f1b37ba 100644 --- a/orm/types.go +++ b/orm/types.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/orm/utils.go b/orm/utils.go index 26df5a3f..e53042d9 100644 --- a/orm/utils.go +++ b/orm/utils.go @@ -1,3 +1,9 @@ +// 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 slene + package orm import ( diff --git a/plugins/auth/basic.go b/plugins/auth/basic.go index 5838acc2..a74bcf22 100644 --- a/plugins/auth/basic.go +++ b/plugins/auth/basic.go @@ -1,4 +1,9 @@ -// basic auth for plugin +// 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 auth // Example: diff --git a/reload.go b/reload.go index 7a43e0ed..fc4d3f9f 100644 --- a/reload.go +++ b/reload.go @@ -1,3 +1,9 @@ +// 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 beego import ( diff --git a/router.go b/router.go index fe749ea5..fa88a153 100644 --- a/router.go +++ b/router.go @@ -1,3 +1,9 @@ +// 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 beego import ( diff --git a/router_test.go b/router_test.go index 2f500835..810177cf 100644 --- a/router_test.go +++ b/router_test.go @@ -1,3 +1,9 @@ +// 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 beego import ( diff --git a/session/couchbase/sess_couchbase.go b/session/couchbase/sess_couchbase.go index cab1c2fe..9f68b946 100644 --- a/session/couchbase/sess_couchbase.go +++ b/session/couchbase/sess_couchbase.go @@ -1,3 +1,9 @@ +// 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 session import ( diff --git a/session/mysql/sess_mysql.go b/session/mysql/sess_mysql.go index 26c0b647..530ca158 100644 --- a/session/mysql/sess_mysql.go +++ b/session/mysql/sess_mysql.go @@ -1,3 +1,9 @@ +// 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 session // mysql session support need create table as sql: diff --git a/session/postgres/sess_postgresql.go b/session/postgres/sess_postgresql.go index 68030df2..7f905997 100644 --- a/session/postgres/sess_postgresql.go +++ b/session/postgres/sess_postgresql.go @@ -1,3 +1,9 @@ +// 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 session /* diff --git a/session/redis/sess_redis.go b/session/redis/sess_redis.go index a1c0e94f..3ad19792 100644 --- a/session/redis/sess_redis.go +++ b/session/redis/sess_redis.go @@ -1,3 +1,9 @@ +// 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 session import ( diff --git a/session/sess_cookie.go b/session/sess_cookie.go index 67a0802d..1a06add6 100644 --- a/session/sess_cookie.go +++ b/session/sess_cookie.go @@ -1,3 +1,9 @@ +// 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 session import ( diff --git a/session/sess_cookie_test.go b/session/sess_cookie_test.go index 154c15a2..9ab321f5 100644 --- a/session/sess_cookie_test.go +++ b/session/sess_cookie_test.go @@ -1,3 +1,9 @@ +// 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 session import ( diff --git a/session/sess_file.go b/session/sess_file.go index 618ba366..74b71223 100644 --- a/session/sess_file.go +++ b/session/sess_file.go @@ -1,3 +1,9 @@ +// 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 session import ( diff --git a/session/sess_mem.go b/session/sess_mem.go index 7a2bd0ad..e440b2f5 100644 --- a/session/sess_mem.go +++ b/session/sess_mem.go @@ -1,3 +1,9 @@ +// 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 session import ( diff --git a/session/sess_mem_test.go b/session/sess_mem_test.go index df2a9a1e..5e54c634 100644 --- a/session/sess_mem_test.go +++ b/session/sess_mem_test.go @@ -1,3 +1,9 @@ +// 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 session import ( diff --git a/session/sess_test.go b/session/sess_test.go index b903dca6..17947862 100644 --- a/session/sess_test.go +++ b/session/sess_test.go @@ -1,3 +1,9 @@ +// 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 session import ( diff --git a/session/sess_utils.go b/session/sess_utils.go index bfa17a7f..a9cce75a 100644 --- a/session/sess_utils.go +++ b/session/sess_utils.go @@ -1,3 +1,9 @@ +// 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 session import ( diff --git a/session/session.go b/session/session.go index 7da0d41f..3609c10b 100644 --- a/session/session.go +++ b/session/session.go @@ -1,3 +1,9 @@ +// 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 session import ( diff --git a/staticfile.go b/staticfile.go index e140ed38..c53d17a4 100644 --- a/staticfile.go +++ b/staticfile.go @@ -1,3 +1,9 @@ +// 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 beego import ( diff --git a/template.go b/template.go index eb8d0c5d..95deb443 100644 --- a/template.go +++ b/template.go @@ -1,3 +1,9 @@ +// 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 beego //@todo add template funcs diff --git a/template_test.go b/template_test.go index 8da15d0e..15014980 100644 --- a/template_test.go +++ b/template_test.go @@ -1,3 +1,9 @@ +// 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 beego import ( diff --git a/templatefunc.go b/templatefunc.go index 1eb40c0f..c7bd9238 100644 --- a/templatefunc.go +++ b/templatefunc.go @@ -1,3 +1,9 @@ +// 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 beego import ( diff --git a/templatefunc_test.go b/templatefunc_test.go index 726ce2d2..aa1ba1ed 100644 --- a/templatefunc_test.go +++ b/templatefunc_test.go @@ -1,3 +1,9 @@ +// 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 beego import ( diff --git a/testing/client.go b/testing/client.go index 28ad9a7d..a4408681 100644 --- a/testing/client.go +++ b/testing/client.go @@ -1,3 +1,9 @@ +// 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 testing import ( diff --git a/toolbox/debug.go b/toolbox/debug.go index 86638d05..dd775e69 100644 --- a/toolbox/debug.go +++ b/toolbox/debug.go @@ -1,4 +1,9 @@ -// Here are the features: healthcheck, profile, statistics and task. +// 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 toolbox import ( diff --git a/toolbox/debug_test.go b/toolbox/debug_test.go index d72b8b7b..4ef89983 100644 --- a/toolbox/debug_test.go +++ b/toolbox/debug_test.go @@ -1,3 +1,9 @@ +// 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 toolbox import ( diff --git a/toolbox/healthcheck.go b/toolbox/healthcheck.go index 1540c7c7..0f4c0e29 100644 --- a/toolbox/healthcheck.go +++ b/toolbox/healthcheck.go @@ -1,3 +1,9 @@ +// 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 toolbox //type DatabaseCheck struct { diff --git a/toolbox/profile.go b/toolbox/profile.go index ff8710b6..3200d547 100644 --- a/toolbox/profile.go +++ b/toolbox/profile.go @@ -1,3 +1,9 @@ +// 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 toolbox import ( diff --git a/toolbox/profile_test.go b/toolbox/profile_test.go index ea1135a7..661d6ea1 100644 --- a/toolbox/profile_test.go +++ b/toolbox/profile_test.go @@ -1,3 +1,9 @@ +// 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 toolbox import ( diff --git a/toolbox/statistics.go b/toolbox/statistics.go index 6042197e..8904dc60 100644 --- a/toolbox/statistics.go +++ b/toolbox/statistics.go @@ -1,3 +1,9 @@ +// 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 toolbox import ( diff --git a/toolbox/statistics_test.go b/toolbox/statistics_test.go index ca4bffff..ec7ceab5 100644 --- a/toolbox/statistics_test.go +++ b/toolbox/statistics_test.go @@ -1,3 +1,9 @@ +// 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 toolbox import ( diff --git a/toolbox/task.go b/toolbox/task.go index b5558c15..dadc8913 100644 --- a/toolbox/task.go +++ b/toolbox/task.go @@ -1,3 +1,9 @@ +// 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 toolbox import ( diff --git a/toolbox/task_test.go b/toolbox/task_test.go index d61a2595..2bbd4ac7 100644 --- a/toolbox/task_test.go +++ b/toolbox/task_test.go @@ -1,3 +1,9 @@ +// 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 toolbox import ( diff --git a/utils/caller.go b/utils/caller.go index 5cf45ed9..52cd5fe4 100644 --- a/utils/caller.go +++ b/utils/caller.go @@ -1,3 +1,9 @@ +// 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 utils import ( diff --git a/utils/caller_test.go b/utils/caller_test.go index 1a7e9c75..c7068f3c 100644 --- a/utils/caller_test.go +++ b/utils/caller_test.go @@ -1,3 +1,9 @@ +// 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 utils import ( diff --git a/utils/captcha/captcha.go b/utils/captcha/captcha.go index f3998733..f12634d5 100644 --- a/utils/captcha/captcha.go +++ b/utils/captcha/captcha.go @@ -1,3 +1,9 @@ +// 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 + // an example for use captcha // // ``` diff --git a/utils/captcha/image.go b/utils/captcha/image.go index 31c66a36..93eb3383 100644 --- a/utils/captcha/image.go +++ b/utils/captcha/image.go @@ -1,4 +1,9 @@ -// modifiy and integrated to Beego from https://github.com/dchest/captcha +// 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 captcha import ( diff --git a/utils/captcha/image_test.go b/utils/captcha/image_test.go index e80cc42c..14a18fbc 100644 --- a/utils/captcha/image_test.go +++ b/utils/captcha/image_test.go @@ -1,3 +1,9 @@ +// 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 captcha import ( diff --git a/utils/captcha/siprng.go b/utils/captcha/siprng.go index 6f9274d8..26651b9b 100644 --- a/utils/captcha/siprng.go +++ b/utils/captcha/siprng.go @@ -1,4 +1,9 @@ -// modifiy and integrated to Beego from https://github.com/dchest/captcha +// 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 captcha import ( diff --git a/utils/captcha/siprng_test.go b/utils/captcha/siprng_test.go index 2fb81f7e..8f3444b4 100644 --- a/utils/captcha/siprng_test.go +++ b/utils/captcha/siprng_test.go @@ -1,3 +1,9 @@ +// 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 captcha import "testing" diff --git a/utils/file.go b/utils/file.go index c0137cb5..0f08045b 100644 --- a/utils/file.go +++ b/utils/file.go @@ -1,3 +1,9 @@ +// 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 utils import ( diff --git a/utils/file_test.go b/utils/file_test.go index c183484b..8dfd1ff6 100644 --- a/utils/file_test.go +++ b/utils/file_test.go @@ -1,3 +1,9 @@ +// 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 utils import ( diff --git a/utils/mail.go b/utils/mail.go index 828b790c..8eb97b1a 100644 --- a/utils/mail.go +++ b/utils/mail.go @@ -1,3 +1,9 @@ +// 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 utils import ( diff --git a/utils/mail_test.go b/utils/mail_test.go index c0535ed5..109bf7ba 100644 --- a/utils/mail_test.go +++ b/utils/mail_test.go @@ -1,3 +1,9 @@ +// 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 utils import "testing" diff --git a/utils/rand.go b/utils/rand.go index 482c7059..d9629e60 100644 --- a/utils/rand.go +++ b/utils/rand.go @@ -1,3 +1,9 @@ +// 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 utils import ( diff --git a/utils/safemap.go b/utils/safemap.go index 30ccceff..35bf695b 100644 --- a/utils/safemap.go +++ b/utils/safemap.go @@ -1,3 +1,9 @@ +// 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 utils import ( diff --git a/utils/safemap_test.go b/utils/safemap_test.go index 8e4eab48..e1148a1c 100644 --- a/utils/safemap_test.go +++ b/utils/safemap_test.go @@ -1,3 +1,9 @@ +// 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 utils import ( diff --git a/utils/slice.go b/utils/slice.go index fd3d5166..fee1b741 100644 --- a/utils/slice.go +++ b/utils/slice.go @@ -1,3 +1,9 @@ +// 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 utils import ( diff --git a/utils/slice_test.go b/utils/slice_test.go index d06a94a6..fb2266a0 100644 --- a/utils/slice_test.go +++ b/utils/slice_test.go @@ -1,3 +1,9 @@ +// 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 utils import ( diff --git a/validation/util.go b/validation/util.go index a157742d..3ac56f81 100644 --- a/validation/util.go +++ b/validation/util.go @@ -1,3 +1,9 @@ +// 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 validation import ( diff --git a/validation/util_test.go b/validation/util_test.go index e33025c2..8345daa6 100644 --- a/validation/util_test.go +++ b/validation/util_test.go @@ -1,3 +1,9 @@ +// 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 validation import ( diff --git a/validation/validation.go b/validation/validation.go index a22e8bff..7087ccff 100644 --- a/validation/validation.go +++ b/validation/validation.go @@ -1,3 +1,9 @@ +// 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 validation import ( diff --git a/validation/validation_test.go b/validation/validation_test.go index de9aa21a..47de304a 100644 --- a/validation/validation_test.go +++ b/validation/validation_test.go @@ -1,3 +1,9 @@ +// 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 validation import ( diff --git a/validation/validators.go b/validation/validators.go index 631e0f38..d59b42b0 100644 --- a/validation/validators.go +++ b/validation/validators.go @@ -1,3 +1,9 @@ +// 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 validation import (