aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorJoe Chen <jc@unknwon.io>2022-10-09 23:12:03 +0800
committerGitHub <noreply@github.com>2022-10-09 23:12:03 +0800
commit50e5766867165d7736a9afeb8c3499bed6dda129 (patch)
tree1634eadc7fbe5694a0f9d182d241672107023c1a /internal
parent8982a42d38c537de87fabcc59f062841f1c437c2 (diff)
build: remove support of Go 1.17 (#7177)
Diffstat (limited to 'internal')
-rw-r--r--internal/auth/pam/pam.go1
-rw-r--r--internal/auth/pam/pam_stub.go1
-rw-r--r--internal/cmd/cert.go1
-rw-r--r--internal/cmd/cert_stub.go1
-rw-r--r--internal/conf/static_minwinsvc.go1
5 files changed, 0 insertions, 5 deletions
diff --git a/internal/auth/pam/pam.go b/internal/auth/pam/pam.go
index d251fae4..14f041ae 100644
--- a/internal/auth/pam/pam.go
+++ b/internal/auth/pam/pam.go
@@ -1,5 +1,4 @@
//go:build pam
-// +build pam
// Copyright 2014 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
diff --git a/internal/auth/pam/pam_stub.go b/internal/auth/pam/pam_stub.go
index 387e6ed6..597b61d1 100644
--- a/internal/auth/pam/pam_stub.go
+++ b/internal/auth/pam/pam_stub.go
@@ -1,5 +1,4 @@
//go:build !pam
-// +build !pam
// Copyright 2014 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
diff --git a/internal/cmd/cert.go b/internal/cmd/cert.go
index c8280a12..f13d8949 100644
--- a/internal/cmd/cert.go
+++ b/internal/cmd/cert.go
@@ -1,5 +1,4 @@
//go:build cert
-// +build cert
// Copyright 2009 The Go Authors. All rights reserved.
// Copyright 2014 The Gogs Authors. All rights reserved.
diff --git a/internal/cmd/cert_stub.go b/internal/cmd/cert_stub.go
index fff99e3f..f8cbaa7e 100644
--- a/internal/cmd/cert_stub.go
+++ b/internal/cmd/cert_stub.go
@@ -1,5 +1,4 @@
//go:build !cert
-// +build !cert
// Copyright 2009 The Go Authors. All rights reserved.
// Copyright 2014 The Gogs Authors. All rights reserved.
diff --git a/internal/conf/static_minwinsvc.go b/internal/conf/static_minwinsvc.go
index 0b167714..b946398f 100644
--- a/internal/conf/static_minwinsvc.go
+++ b/internal/conf/static_minwinsvc.go
@@ -1,5 +1,4 @@
//go:build minwinsvc
-// +build minwinsvc
// Copyright 2015 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style