webtty: upgrade Run to use an errgroup to join 2 i/o routines

This commit is contained in:
Will Owens 2025-10-26 13:17:02 -05:00
parent c830287cb0
commit b5d904cb14
No known key found for this signature in database
GPG key ID: 8C8384B16B623DA6
4 changed files with 52 additions and 41 deletions

3
go.mod
View file

@ -1,6 +1,6 @@
module github.com/ghthor/gotty/v2
go 1.23.0
go 1.24.0
require (
github.com/NYTimes/gziphandler v1.1.1
@ -11,6 +11,7 @@ require (
github.com/pkg/errors v0.9.1
github.com/urfave/cli v1.22.14
github.com/yudai/hcl v0.0.0-20151013225006-5fa2393b3552
golang.org/x/sync v0.17.0
)
require (