diff --git a/api/base.go b/api/base.go index 8de1b2817..f7b84d8b1 100644 --- a/api/base.go +++ b/api/base.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package api import ( diff --git a/api/member.go b/api/member.go index 2e3b37ce5..2e9243d12 100644 --- a/api/member.go +++ b/api/member.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package api import ( diff --git a/api/project.go b/api/project.go index d0f06ec8f..fc8c86f33 100644 --- a/api/project.go +++ b/api/project.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package api import ( diff --git a/api/repository.go b/api/repository.go index 65826a7aa..7fec81068 100644 --- a/api/repository.go +++ b/api/repository.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package api import ( diff --git a/api/search.go b/api/search.go index 60ccca7c9..fe6f76f26 100644 --- a/api/search.go +++ b/api/search.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package api import ( diff --git a/api/user.go b/api/user.go index 40fe50e78..e104520c8 100644 --- a/api/user.go +++ b/api/user.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package api import ( diff --git a/api/utils.go b/api/utils.go index 731c0e4c9..700bf9fb9 100644 --- a/api/utils.go +++ b/api/utils.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package api import ( diff --git a/auth/authenticator.go b/auth/authenticator.go index 5dcd6e1fa..14f881cde 100644 --- a/auth/authenticator.go +++ b/auth/authenticator.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package auth import ( diff --git a/auth/db/db.go b/auth/db/db.go index ca7c5d360..2e56cb1a9 100644 --- a/auth/db/db.go +++ b/auth/db/db.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package db import ( diff --git a/auth/ldap/ldap.go b/auth/ldap/ldap.go index ca7f423e1..6316f5327 100644 --- a/auth/ldap/ldap.go +++ b/auth/ldap/ldap.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package ldap import ( diff --git a/controllers/base.go b/controllers/base.go index b77d4b7ee..836aa1382 100644 --- a/controllers/base.go +++ b/controllers/base.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package controllers import ( diff --git a/controllers/item_detail.go b/controllers/item_detail.go index 71c4c115b..09774f3ff 100644 --- a/controllers/item_detail.go +++ b/controllers/item_detail.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package controllers import ( diff --git a/controllers/login.go b/controllers/login.go index 71cfe6a2e..ffeac3e5a 100644 --- a/controllers/login.go +++ b/controllers/login.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package controllers import ( diff --git a/controllers/password.go b/controllers/password.go index 4651477a6..9929c4f8f 100644 --- a/controllers/password.go +++ b/controllers/password.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package controllers import ( diff --git a/controllers/project.go b/controllers/project.go index 1559e4e7f..1125bcaa1 100644 --- a/controllers/project.go +++ b/controllers/project.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package controllers // ProjectController handles request to /registry/project diff --git a/controllers/register.go b/controllers/register.go index b68877247..105819752 100644 --- a/controllers/register.go +++ b/controllers/register.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package controllers import ( diff --git a/controllers/search.go b/controllers/search.go index 80c68fa91..8762a2975 100644 --- a/controllers/search.go +++ b/controllers/search.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package controllers // SearchController handles request to /search diff --git a/dao/access_log.go b/dao/access_log.go index 615433049..721ac92cd 100644 --- a/dao/access_log.go +++ b/dao/access_log.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package dao import ( diff --git a/dao/base.go b/dao/base.go index 0da51f181..dee02370a 100644 --- a/dao/base.go +++ b/dao/base.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package dao import ( diff --git a/dao/dao_test.go b/dao/dao_test.go index 5cf8d4366..1bc1e1f0f 100644 --- a/dao/dao_test.go +++ b/dao/dao_test.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package dao import ( diff --git a/dao/item_detail.go b/dao/item_detail.go index 6504d77aa..f4f2cb558 100644 --- a/dao/item_detail.go +++ b/dao/item_detail.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package dao import ( diff --git a/dao/project.go b/dao/project.go index 7bec0c9df..9d4205057 100644 --- a/dao/project.go +++ b/dao/project.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package dao import ( diff --git a/dao/project_role.go b/dao/project_role.go index 569cc3298..dbf409fa0 100644 --- a/dao/project_role.go +++ b/dao/project_role.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package dao import ( diff --git a/dao/register.go b/dao/register.go index e42be0ce8..d589be4db 100644 --- a/dao/register.go +++ b/dao/register.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package dao import ( diff --git a/dao/role.go b/dao/role.go index ed5b693fb..47b9a9d7d 100644 --- a/dao/role.go +++ b/dao/role.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package dao import ( diff --git a/dao/user.go b/dao/user.go index ef4468b6e..10b3dbe15 100644 --- a/dao/user.go +++ b/dao/user.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package dao import ( diff --git a/main.go b/main.go index de82b0468..c69c445b1 100644 --- a/main.go +++ b/main.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package main import ( diff --git a/models/access_log.go b/models/access_log.go index 2cc8eca3c..150f3b588 100644 --- a/models/access_log.go +++ b/models/access_log.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package models import ( diff --git a/models/auth_model.go b/models/auth_model.go index babc8dd3f..7878da98d 100644 --- a/models/auth_model.go +++ b/models/auth_model.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package models // AuthModel holds information used to authenticate. diff --git a/models/notification.go b/models/notification.go index f5fab61db..0f608e2c6 100644 --- a/models/notification.go +++ b/models/notification.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package models import ( diff --git a/models/project.go b/models/project.go index 967319127..1b3bb92a2 100644 --- a/models/project.go +++ b/models/project.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package models import ( diff --git a/models/project_role.go b/models/project_role.go index a536b0819..97049abf7 100644 --- a/models/project_role.go +++ b/models/project_role.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package models // ProjectRole holds information about the relationship of project and role. diff --git a/models/repo.go b/models/repo.go index c12d5b23c..1692c645d 100644 --- a/models/repo.go +++ b/models/repo.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package models // Repo holds information about repositories. diff --git a/models/repo_item.go b/models/repo_item.go index 0c3b78f65..d3febf0f9 100644 --- a/models/repo_item.go +++ b/models/repo_item.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package models import ( diff --git a/models/role.go b/models/role.go index 5cacbef9f..693feeaca 100644 --- a/models/role.go +++ b/models/role.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package models const ( diff --git a/models/tag.go b/models/tag.go index 748efaa10..386bea7ff 100644 --- a/models/tag.go +++ b/models/tag.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package models // Tag holds information about a tag. diff --git a/models/user.go b/models/user.go index 572a5a449..e89d74b4b 100644 --- a/models/user.go +++ b/models/user.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package models // User holds the details of a user. diff --git a/models/user_project_role.go b/models/user_project_role.go index d0dd36652..acd779d56 100644 --- a/models/user_project_role.go +++ b/models/user_project_role.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package models // UserProjectRole holds information about relationship of user, project and role. diff --git a/routers/router.go b/routers/router.go index d84d7776e..764a3c7e6 100644 --- a/routers/router.go +++ b/routers/router.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package routers import ( diff --git a/service/notification.go b/service/notification.go index 250776a22..745dc56fb 100644 --- a/service/notification.go +++ b/service/notification.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package service import ( diff --git a/service/token.go b/service/token.go index 5ee2d416a..62dfbbc29 100644 --- a/service/token.go +++ b/service/token.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package service import ( diff --git a/service/utils/auth_utils.go b/service/utils/auth_utils.go index 22c7086a7..77ba8a738 100644 --- a/service/utils/auth_utils.go +++ b/service/utils/auth_utils.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package utils import ( diff --git a/service/utils/cache.go b/service/utils/cache.go index a31168ae9..7a0ca93a4 100644 --- a/service/utils/cache.go +++ b/service/utils/cache.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package utils import ( diff --git a/service/utils/registry_utils.go b/service/utils/registry_utils.go index 70b6593cf..b1aa272d1 100644 --- a/service/utils/registry_utils.go +++ b/service/utils/registry_utils.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package utils import ( diff --git a/tests/utils_test.go b/tests/utils_test.go index 22109561a..c774335ea 100644 --- a/tests/utils_test.go +++ b/tests/utils_test.go @@ -12,4 +12,5 @@ See the License for the specific language governing permissions and limitations under the License. */ + package test diff --git a/utils/encrypt.go b/utils/encrypt.go index 4def9095c..2b85e8d97 100644 --- a/utils/encrypt.go +++ b/utils/encrypt.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package utils import ( diff --git a/utils/mail.go b/utils/mail.go index e9c3972dc..8dca9f413 100644 --- a/utils/mail.go +++ b/utils/mail.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package utils import ( diff --git a/utils/registry_utils.go b/utils/registry_utils.go index 4656aad19..ab16b3a4e 100644 --- a/utils/registry_utils.go +++ b/utils/registry_utils.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package utils import ( diff --git a/utils/utils.go b/utils/utils.go index 0fcda16c4..592236bb5 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ + package utils import (