Skip to content

🐛 stop and reset timer on server #373

🐛 stop and reset timer on server

🐛 stop and reset timer on server #373

GitHub Actions / golangci failed Jun 1, 2024 in 1s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (1)

usecases/service/ws/client.go|54| File is not gofmt-ed with -s (gofmt)

Filtered Findings (2)

util/random/odai.go|20 col 2| SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)
util/random/shuffle.go|11 col 2| SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)

Annotations

Check failure on line 54 in usecases/service/ws/client.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] usecases/service/ws/client.go#L54

File is not `gofmt`-ed with `-s` (gofmt)
Raw output
usecases/service/ws/client.go:54: File is not `gofmt`-ed with `-s` (gofmt)
				server.resetBreakTimer()