1
0
mirror of https://github.com/fumiama/terasu.git synced 2026-06-27 00:00:24 +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 - name: Set up Go 1.x
uses: actions/setup-go@master uses: actions/setup-go@master
with: with:
go-version: "1.20" go-version: "1.22"
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
uses: actions/checkout@master uses: actions/checkout@master
@@ -32,7 +32,7 @@ jobs:
- name: Set up Go 1.x - name: Set up Go 1.x
uses: actions/setup-go@master uses: actions/setup-go@master
with: with:
go-version: "1.20" go-version: "1.22"
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
uses: actions/checkout@master uses: actions/checkout@master

View File

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

View File

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

View File

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

2
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/fumiama/terasu module github.com/fumiama/terasu
go 1.20 go 1.22
require ( require (
github.com/FloatTech/ttl v0.0.0-20250224045156-012b1463287d 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 package http
import ( import (

View File

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

View File

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