From 648464b504755ee96187692fbe59acc2eec5bddf Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Tue, 24 Aug 2021 11:47:09 -0500 Subject: Add bundle download for repository (#14538) * Add bundle download Signed-off-by: jolheiser * Fix fmt Signed-off-by: jolheiser * Fix build tags Signed-off-by: jolheiser * Download specific commit Signed-off-by: jolheiser --- modules/public/dynamic.go | 5 +++-- modules/public/public_bindata.go | 3 ++- modules/public/static.go | 5 +++-- 3 files changed, 8 insertions(+), 5 deletions(-) (limited to 'modules/public') 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 ( -- cgit v1.2.3