diff options
author | Joe Chen <u@gogs.io> | 2021-09-24 00:44:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-24 00:44:09 +0800 |
commit | fa3d011415c21a6e4d2e6500d589ca17cf39090f (patch) | |
tree | 2dc9383f29c5b1a9d5eb51a71bd846fb165b85ea /internal | |
parent | b9a3626cad505b1dccd66a0b023263ef59134430 (diff) |
chore: fix lint errors (#6620)
Diffstat (limited to 'internal')
-rw-r--r-- | internal/auth/pam/pam_stub.go | 1 | ||||
-rw-r--r-- | internal/cmd/cert_stub.go | 2 |
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 ( |