summaryrefslogtreecommitdiffstats
path: root/modules/auth/pam
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/auth/pam
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/auth/pam')
-rw-r--r--modules/auth/pam/pam.go5
-rw-r--r--modules/auth/pam/pam_stub.go5
-rw-r--r--modules/auth/pam/pam_test.go1
3 files changed, 7 insertions, 4 deletions
diff --git a/modules/auth/pam/pam.go b/modules/auth/pam/pam.go
index f21602c6b5..73ecae0c2c 100644
--- a/modules/auth/pam/pam.go
+++ b/modules/auth/pam/pam.go
@@ -1,9 +1,10 @@
-// +build pam
-
// Copyright 2014 The Gogs 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 pam
+// +build pam
+
package pam
import (
diff --git a/modules/auth/pam/pam_stub.go b/modules/auth/pam/pam_stub.go
index 02d8da3c57..815ccf2b0e 100644
--- a/modules/auth/pam/pam_stub.go
+++ b/modules/auth/pam/pam_stub.go
@@ -1,9 +1,10 @@
-// +build !pam
-
// Copyright 2014 The Gogs 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 !pam
+// +build !pam
+
package pam
import (
diff --git a/modules/auth/pam/pam_test.go b/modules/auth/pam/pam_test.go
index fa16ff0fe7..d6d78a748b 100644
--- a/modules/auth/pam/pam_test.go
+++ b/modules/auth/pam/pam_test.go
@@ -1,3 +1,4 @@
+//go:build pam
// +build pam
// Copyright 2021 The Gitea Authors. All rights reserved.