updated to go version 1.23

This commit is contained in:
Erik Brakkee 2024-08-14 10:29:05 +02:00
parent 65ffc65710
commit 19b1be1659
2 changed files with 12 additions and 3 deletions

View File

@ -2,10 +2,19 @@
* Environment * Environment
Go version 1.21
At least go version 1.21 so that it automatically downloads the correct version
``` ```
go install github.com/a-h/templ/cmd/templ@latest go install github.com/a-h/templ/cmd/templ@latest
go install golang.org/x/pkgsite/cmd/pkgsite@latest go install golang.org/x/pkgsite/cmd/pkgsite@latest
``` ```
# Profiling
```
go tool pprof -http:8081 http://localhost:8000/debug/pprof/profile?seconds=30
go tool pprof -http:8081 http://localhost:8000/debug/pprof/heap
go tool pprof -http:8081 http://localhost:8000/debug/pprof/goroutine
```

4
go.mod
View File

@ -1,6 +1,6 @@
module git.wamblee.org/converge module git.wamblee.org/converge
go 1.22.5 go 1.23.0
require ( require (
github.com/ActiveState/termtest/conpty v0.5.0 github.com/ActiveState/termtest/conpty v0.5.0
@ -11,6 +11,7 @@ require (
github.com/gorilla/websocket v1.5.3 github.com/gorilla/websocket v1.5.3
github.com/hashicorp/yamux v0.1.1 github.com/hashicorp/yamux v0.1.1
github.com/pkg/sftp v1.13.6 github.com/pkg/sftp v1.13.6
github.com/prometheus/client_golang v1.19.1
golang.org/x/crypto v0.25.0 golang.org/x/crypto v0.25.0
golang.org/x/term v0.22.0 golang.org/x/term v0.22.0
) )
@ -21,7 +22,6 @@ require (
github.com/beorn7/perks v1.0.1 // indirect github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/kr/fs v0.1.0 // indirect github.com/kr/fs v0.1.0 // indirect
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.5.0 // indirect github.com/prometheus/client_model v0.5.0 // indirect
github.com/prometheus/common v0.48.0 // indirect github.com/prometheus/common v0.48.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect github.com/prometheus/procfs v0.12.0 // indirect