mirror of
https://github.com/fumiama/terasu.git
synced 2026-06-05 01:00:23 +08:00
chore: make lint happy
This commit is contained in:
4
.github/workflows/go-vet.yml
vendored
4
.github/workflows/go-vet.yml
vendored
@@ -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
|
||||
|
||||
@@ -53,7 +53,7 @@ run:
|
||||
deadline: 5m
|
||||
issues-exit-code: 1
|
||||
tests: false
|
||||
go: '1.20'
|
||||
go: '1.22'
|
||||
|
||||
# output configuration options
|
||||
output:
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Package main ...
|
||||
package main
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Package dns with DoT/DoH supports
|
||||
package dns
|
||||
|
||||
import (
|
||||
|
||||
2
go.mod
2
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
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Package http is the same as the standard http lib
|
||||
package http
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Package http2 is the same as the standard http lib with HTTP2 client support
|
||||
package http2
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Package ip contains IP-related configs
|
||||
package ip
|
||||
|
||||
var IsIPv6Available = false
|
||||
|
||||
Reference in New Issue
Block a user