lint by golangci-lint (#3080)

This commit is contained in:
fatedier
2022-08-29 01:02:53 +08:00
committed by GitHub
parent f4e4fbea62
commit 9d077b02cf
122 changed files with 947 additions and 1331 deletions

View File

@@ -4,15 +4,15 @@ import (
"fmt"
"time"
"github.com/fatedier/frp/test/e2e/framework"
"github.com/onsi/ginkgo"
. "github.com/onsi/ginkgo"
"github.com/fatedier/frp/test/e2e/framework"
)
var _ = Describe("[Feature: Heartbeat]", func() {
var _ = ginkgo.Describe("[Feature: Heartbeat]", func() {
f := framework.NewDefaultFramework()
It("disable application layer heartbeat", func() {
ginkgo.It("disable application layer heartbeat", func() {
serverPort := f.AllocPort()
serverConf := fmt.Sprintf(`
[common]