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/public | |
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/public')
-rw-r--r-- | modules/public/dynamic.go | 5 | ||||
-rw-r--r-- | modules/public/public_bindata.go | 3 | ||||
-rw-r--r-- | modules/public/static.go | 5 |
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 ( |