summaryrefslogtreecommitdiffstats
path: root/modules/options
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2021-08-24 11:47:09 -0500
committerGitHub <noreply@github.com>2021-08-24 11:47:09 -0500
commit648464b504755ee96187692fbe59acc2eec5bddf (patch)
treeaa25fbd8c8d9cb975d6eb53094098d5a33aa7afa /modules/options
parentd22cb600edc2605bd8be25c9079a5ce2c6643547 (diff)
downloadgitea-648464b504755ee96187692fbe59acc2eec5bddf.tar.gz
gitea-648464b504755ee96187692fbe59acc2eec5bddf.zip
Add bundle download for repository (#14538)
* Add bundle download Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix fmt Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix build tags Signed-off-by: jolheiser <john.olheiser@gmail.com> * Download specific commit Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'modules/options')
-rw-r--r--modules/options/dynamic.go5
-rw-r--r--modules/options/options_bindata.go3
-rw-r--r--modules/options/static.go5
3 files changed, 8 insertions, 5 deletions
diff --git a/modules/options/dynamic.go b/modules/options/dynamic.go
index ffb89df882..13fa5d6aa7 100644
--- a/modules/options/dynamic.go
+++ b/modules/options/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 options
import (
diff --git a/modules/options/options_bindata.go b/modules/options/options_bindata.go
index 262bd0de3e..64da772c6f 100644
--- a/modules/options/options_bindata.go
+++ b/modules/options/options_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 options
diff --git a/modules/options/static.go b/modules/options/static.go
index 5f4ffdda78..49e8445cd5 100644
--- a/modules/options/static.go
+++ b/modules/options/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 options
import (