Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🏡 Housekeeping: Update to Go 1.17 #1215

Merged
merged 4 commits into from
Aug 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16.4
go-version: ^1.17

- name: Checkout codebase
uses: actions/checkout@v2
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ jobs:
goarch: arm64
- goos: linux
goarch: riscv64
- goos: windows
goarch: arm64
# BEGIN MIPS
- goos: linux
goarch: mips64
Expand Down Expand Up @@ -98,7 +100,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ^1.16.4
go-version: ^1.17

- name: Get project dependencies
run: go mod download
Expand Down Expand Up @@ -169,7 +171,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ^1.16.4
go-version: ^1.17

- uses: actions/download-artifact@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16.4
go-version: ^1.17

- name: Checkout codebase
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion app/browserforwarder/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/browserforwarder/forwarder.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package browserforwarder
Expand Down
1 change: 1 addition & 0 deletions app/commander/commander.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package commander
Expand Down
2 changes: 1 addition & 1 deletion app/commander/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/commander/outbound.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package commander
Expand Down
1 change: 1 addition & 0 deletions app/commander/service.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package commander
Expand Down
2 changes: 1 addition & 1 deletion app/dispatcher/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/dispatcher/default.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package dispatcher
Expand Down
1 change: 1 addition & 0 deletions app/dispatcher/dispatcher.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package dispatcher
Expand Down
1 change: 1 addition & 0 deletions app/dispatcher/fakednssniffer.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package dispatcher
Expand Down
1 change: 1 addition & 0 deletions app/dispatcher/sniffer.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package dispatcher
Expand Down
1 change: 1 addition & 0 deletions app/dispatcher/stats.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package dispatcher
Expand Down
1 change: 1 addition & 0 deletions app/dns/config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package dns
Expand Down
2 changes: 1 addition & 1 deletion app/dns/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/dns/dns.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

// Package dns is an implementation of core.DNS feature.
Expand Down
1 change: 1 addition & 0 deletions app/dns/dnscommon.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package dns
Expand Down
1 change: 1 addition & 0 deletions app/dns/dnscommon_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package dns
Expand Down
1 change: 1 addition & 0 deletions app/dns/fakedns/fake.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package fakedns
Expand Down
1 change: 1 addition & 0 deletions app/dns/fakedns/fakedns.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package fakedns
Expand Down
2 changes: 1 addition & 1 deletion app/dns/fakedns/fakedns.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/dns/hosts.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package dns
Expand Down
1 change: 1 addition & 0 deletions app/dns/nameserver.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package dns
Expand Down
1 change: 1 addition & 0 deletions app/dns/nameserver_doh.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package dns
Expand Down
1 change: 1 addition & 0 deletions app/dns/nameserver_fakedns.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package dns
Expand Down
1 change: 1 addition & 0 deletions app/dns/nameserver_local.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package dns
Expand Down
1 change: 1 addition & 0 deletions app/dns/nameserver_quic.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package dns
Expand Down
1 change: 1 addition & 0 deletions app/dns/nameserver_tcp.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package dns
Expand Down
1 change: 1 addition & 0 deletions app/dns/nameserver_udp.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package dns
Expand Down
1 change: 1 addition & 0 deletions app/log/command/command.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package command
Expand Down
2 changes: 1 addition & 1 deletion app/log/command/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/log/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/log/log.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package log
Expand Down
1 change: 1 addition & 0 deletions app/log/log_creator.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package log
Expand Down
1 change: 1 addition & 0 deletions app/observatory/command/command.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package command
Expand Down
2 changes: 1 addition & 1 deletion app/observatory/command/command.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/observatory/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/observatory/observer.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package observatory
Expand Down
2 changes: 1 addition & 1 deletion app/policy/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/proxyman/command/command.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package command
Expand Down
2 changes: 1 addition & 1 deletion app/proxyman/command/command.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/proxyman/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/reverse/bridge.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package reverse
Expand Down
1 change: 1 addition & 0 deletions app/reverse/config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package reverse
Expand Down
2 changes: 1 addition & 1 deletion app/reverse/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/reverse/portal.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package reverse
Expand Down
1 change: 1 addition & 0 deletions app/reverse/reverse.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package reverse
Expand Down
1 change: 1 addition & 0 deletions app/router/balancing.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package router
Expand Down
1 change: 1 addition & 0 deletions app/router/command/command.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package command
Expand Down
2 changes: 1 addition & 1 deletion app/router/command/command.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/router/condition.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package router
Expand Down
1 change: 1 addition & 0 deletions app/router/condition_geoip.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package router
Expand Down
1 change: 1 addition & 0 deletions app/router/config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package router
Expand Down
2 changes: 1 addition & 1 deletion app/router/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/router/router.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package router
Expand Down
1 change: 1 addition & 0 deletions app/router/strategy_leastping.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package router
Expand Down
1 change: 1 addition & 0 deletions app/stats/channel.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package stats
Expand Down
1 change: 1 addition & 0 deletions app/stats/command/command.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !confonly
// +build !confonly

package command
Expand Down
2 changes: 1 addition & 1 deletion app/stats/command/command.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading