diff --git a/routers/common/runners.go b/routers/common/runners.go index 4b82336bdf..a19a4e9590 100644 --- a/routers/common/runners.go +++ b/routers/common/runners.go @@ -1,3 +1,7 @@ +// Copyright 2022 The Gitea Authors. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + package common import ( diff --git a/routers/web/org/org_runners.go b/routers/web/org/org_runners.go index 0e98cb7df2..850d4f5a5f 100644 --- a/routers/web/org/org_runners.go +++ b/routers/web/org/org_runners.go @@ -1,3 +1,7 @@ +// Copyright 2022 The Gitea Authors. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + package org import ( diff --git a/routers/web/repo/runners.go b/routers/web/repo/runners.go index f21c4e2601..5df3bfcaf2 100644 --- a/routers/web/repo/runners.go +++ b/routers/web/repo/runners.go @@ -1,3 +1,7 @@ +// Copyright 2022 The Gitea Authors. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + package repo import ( diff --git a/services/forms/runner.go b/services/forms/runner.go index e1f633bb8b..3ba59a2b0d 100644 --- a/services/forms/runner.go +++ b/services/forms/runner.go @@ -1,3 +1,7 @@ +// Copyright 2022 The Gitea Authors. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + package forms import ( @@ -5,6 +9,7 @@ import ( "code.gitea.io/gitea/modules/context" "code.gitea.io/gitea/modules/web/middleware" + "gitea.com/go-chi/binding" )