Browse Source

style: used gofmt

pull/181/head
Moroka8 3 months ago
parent
commit
fdfa004638
  1. 1
      client/main.go
  2. 2
      client/slider_captcha.go

1
client/main.go

@ -291,7 +291,6 @@ func generateCheckboxCursor() string {
} }
*/ */
func getCustomNetDialer() net.Dialer { func getCustomNetDialer() net.Dialer {
return net.Dialer{ return net.Dialer{
Timeout: 20 * time.Second, Timeout: 20 * time.Second,

2
client/slider_captcha.go

@ -22,6 +22,7 @@ import (
fhttp "github.com/bogdanfinn/fhttp" fhttp "github.com/bogdanfinn/fhttp"
tlsclient "github.com/bogdanfinn/tls-client" tlsclient "github.com/bogdanfinn/tls-client"
) )
const ( const (
sliderCaptchaType = "slider" sliderCaptchaType = "slider"
defaultSliderAttempts = 4 defaultSliderAttempts = 4
@ -979,7 +980,6 @@ func buildSliderCursor(candidateIndex int, candidateCount int, startTime int64)
} }
*/ */
func trySliderCaptchaCandidates( func trySliderCaptchaCandidates(
candidates []sliderCandidate, candidates []sliderCandidate,
maxAttempts int, maxAttempts int,

Loading…
Cancel
Save