diff --git a/.github/workflows/go-vet.yml b/.github/workflows/go-vet.yml index ed30d12..b92fa08 100644 --- a/.github/workflows/go-vet.yml +++ b/.github/workflows/go-vet.yml @@ -11,7 +11,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@master with: - go-version: "1.20" + go-version: "1.22" - name: Check out code into the Go module directory uses: actions/checkout@master @@ -32,7 +32,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@master with: - go-version: "1.20" + go-version: "1.22" - name: Check out code into the Go module directory uses: actions/checkout@master diff --git a/.golangci.yml b/.golangci.yml index 290397a..b500417 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -53,7 +53,7 @@ run: deadline: 5m issues-exit-code: 1 tests: false - go: '1.20' + go: '1.22' # output configuration options output: diff --git a/cmd/main.go b/cmd/main.go index 0e9180a..9b7b0fd 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -1,3 +1,4 @@ +// Package main ... package main import ( diff --git a/dns/dns.go b/dns/dns.go index 173aa3f..e97cfca 100644 --- a/dns/dns.go +++ b/dns/dns.go @@ -1,3 +1,4 @@ +// Package dns with DoT/DoH supports package dns import ( diff --git a/go.mod b/go.mod index 1308bd0..b482806 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/fumiama/terasu -go 1.20 +go 1.22 require ( github.com/FloatTech/ttl v0.0.0-20250224045156-012b1463287d diff --git a/http/http.go b/http/http.go index 946c70c..b4aa946 100644 --- a/http/http.go +++ b/http/http.go @@ -1,3 +1,4 @@ +// Package http is the same as the standard http lib package http import ( diff --git a/http2/http2.go b/http2/http2.go index e31e24f..f5630c8 100644 --- a/http2/http2.go +++ b/http2/http2.go @@ -1,3 +1,4 @@ +// Package http2 is the same as the standard http lib with HTTP2 client support package http2 import ( diff --git a/ip/ipv6.go b/ip/ipv6.go index 0ba5fef..17c339b 100644 --- a/ip/ipv6.go +++ b/ip/ipv6.go @@ -1,3 +1,4 @@ +// Package ip contains IP-related configs package ip var IsIPv6Available = false