*: Introduce go.work for submodules

This commit is contained in:
diamondburned 2023-11-03 20:20:07 -07:00
parent 4ef179343a
commit 0370ff1904
No known key found for this signature in database
GPG Key ID: D78C4471CE776659
3 changed files with 9 additions and 5 deletions

View File

@ -2,12 +2,9 @@ module github.com/diamondburned/arikawa/v3/0-examples/voice
go 1.17
replace github.com/diamondburned/arikawa/v3 => ../../
require (
github.com/diamondburned/arikawa/v3 v3.0.0-rc.6
github.com/diamondburned/oggreader v0.0.0-20201118014549-87df9534b647
github.com/pkg/errors v0.9.1
)
require (

View File

@ -4,8 +4,6 @@ github.com/gorilla/schema v1.2.0 h1:YufUaxZYCKGFuAq3c96BOhjgd5nmXiOY9NGzF247Tsc=
github.com/gorilla/schema v1.2.0/go.mod h1:kgLaKoK1FELgZqMAVxx/5cbj0kT+57qxUrAlIO2eleU=
github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=

9
go.work Normal file
View File

@ -0,0 +1,9 @@
go 1.21.3
// To update this file, run:
// go work use $(find . -name go.mod -exec dirname {} \;)
use (
.
./0-examples/voice
)