1
0
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:
源文雨
2025-10-23 01:23:05 +08:00
parent 352a675ea1
commit 3f56d5341b
8 changed files with 9 additions and 4 deletions

View File

@@ -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

View File

@@ -53,7 +53,7 @@ run:
deadline: 5m
issues-exit-code: 1
tests: false
go: '1.20'
go: '1.22'
# output configuration options
output:

View File

@@ -1,3 +1,4 @@
// Package main ...
package main
import (

View File

@@ -1,3 +1,4 @@
// Package dns with DoT/DoH supports
package dns
import (

2
go.mod
View File

@@ -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

View File

@@ -1,3 +1,4 @@
// Package http is the same as the standard http lib
package http
import (

View File

@@ -1,3 +1,4 @@
// Package http2 is the same as the standard http lib with HTTP2 client support
package http2
import (

View File

@@ -1,3 +1,4 @@
// Package ip contains IP-related configs
package ip
var IsIPv6Available = false