Moved go routines control to use sync/atomic library.

This commit is contained in:
Kalzu Rekku
2025-12-31 21:06:35 +02:00
parent 2ad6091c1d
commit 5dbc0392f0
2 changed files with 60 additions and 18 deletions

15
go.mod Normal file
View File

@@ -0,0 +1,15 @@
module ping-service
go 1.25.0
require (
github.com/go-ping/ping v1.2.0
gopkg.in/yaml.v3 v3.0.1
)
require (
github.com/google/uuid v1.2.0 // indirect
golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4 // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005 // indirect
)