diff options
author | John Olheiser <john.olheiser@gmail.com> | 2021-08-24 11:47:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 11:47:09 -0500 |
commit | 648464b504755ee96187692fbe59acc2eec5bddf (patch) | |
tree | aa25fbd8c8d9cb975d6eb53094098d5a33aa7afa /modules/templates | |
parent | d22cb600edc2605bd8be25c9079a5ce2c6643547 (diff) | |
download | gitea-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/templates')
-rw-r--r-- | modules/templates/dynamic.go | 5 | ||||
-rw-r--r-- | modules/templates/static.go | 5 | ||||
-rw-r--r-- | modules/templates/templates_bindata.go | 3 |
3 files changed, 8 insertions, 5 deletions
diff --git a/modules/templates/dynamic.go b/modules/templates/dynamic.go index 160e4e05f2..4732fce421 100644 --- a/modules/templates/dynamic.go +++ b/modules/templates/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 templates import ( diff --git a/modules/templates/static.go b/modules/templates/static.go index 7f95d77ad3..ee20b2af3b 100644 --- a/modules/templates/static.go +++ b/modules/templates/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 templates import ( diff --git a/modules/templates/templates_bindata.go b/modules/templates/templates_bindata.go index 5a59286c7a..887f9eeba2 100644 --- a/modules/templates/templates_bindata.go +++ b/modules/templates/templates_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 templates |