summaryrefslogtreecommitdiffstats
path: root/modules/public
diff options
context:
space:
mode:
Diffstat (limited to 'modules/public')
-rw-r--r--modules/public/dynamic.go5
-rw-r--r--modules/public/public_bindata.go3
-rw-r--r--modules/public/static.go5
3 files changed, 8 insertions, 5 deletions
diff --git a/modules/public/dynamic.go b/modules/public/dynamic.go
index 0bfe38bc3f..955c01e510 100644
--- a/modules/public/dynamic.go
+++ b/modules/public/dynamic.go
@@ -1,9 +1,10 @@
-// +build !bindata
-
// Copyright 2016 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.
+//go:build !bindata
+// +build !bindata
+
package public
import (
diff --git a/modules/public/public_bindata.go b/modules/public/public_bindata.go
index 05648aea80..eb10d96426 100644
--- a/modules/public/public_bindata.go
+++ b/modules/public/public_bindata.go
@@ -2,7 +2,8 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-//+build bindata
+//go:build bindata
+// +build bindata
package public
diff --git a/modules/public/static.go b/modules/public/static.go
index 827dc2a1e0..6994ed6508 100644
--- a/modules/public/static.go
+++ b/modules/public/static.go
@@ -1,9 +1,10 @@
-// +build bindata
-
// Copyright 2016 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.
+//go:build bindata
+// +build bindata
+
package public
import (