aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/auth/pam/pam_stub.go1
-rw-r--r--internal/cmd/cert_stub.go2
2 files changed, 3 insertions, 0 deletions
diff --git a/internal/auth/pam/pam_stub.go b/internal/auth/pam/pam_stub.go
index 9392eab5..65777fd2 100644
--- a/internal/auth/pam/pam_stub.go
+++ b/internal/auth/pam/pam_stub.go
@@ -1,3 +1,4 @@
+//go:build !pam
// +build !pam
// Copyright 2014 The Gogs Authors. All rights reserved.
diff --git a/internal/cmd/cert_stub.go b/internal/cmd/cert_stub.go
index 6164c83e..ddeb92b0 100644
--- a/internal/cmd/cert_stub.go
+++ b/internal/cmd/cert_stub.go
@@ -1,9 +1,11 @@
+//go:build !cert
// +build !cert
// Copyright 2009 The Go Authors. All rights reserved.
// 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.
+
package cmd
import (