Add support for Go modules, issue #141

This commit is contained in:
Milan Nikolic 2021-07-14 16:51:35 +02:00
parent 8ff192f923
commit ccae99cbf6
No known key found for this signature in database
GPG key ID: 9229D0EAA3AA4E75
7 changed files with 70 additions and 0 deletions

3
easings/go.mod Normal file
View file

@ -0,0 +1,3 @@
module github.com/gen2brain/raylib-go/easings
go 1.16

9
examples/go.mod Normal file
View file

@ -0,0 +1,9 @@
module examples
go 1.16
require (
github.com/gen2brain/raylib-go v0.0.0-20210623105341-8ff192f923a5
github.com/jakecoffman/cp v1.1.0
github.com/neguse/go-box2d-lite v0.0.0-20170921151050-5d8ed9b7272b
)

7
physics/go.mod Normal file
View file

@ -0,0 +1,7 @@
module github.com/gen2brain/raylib-go/physics
go 1.16
replace github.com/gen2brain/raylib-go/raylib => ../raylib
require github.com/gen2brain/raylib-go/raylib v0.0.0-00010101000000-000000000000

7
raygui/go.mod Normal file
View file

@ -0,0 +1,7 @@
module github.com/gen2brain/raylib-go/raygui
go 1.16
replace github.com/gen2brain/raylib-go/raylib => ../raylib
require github.com/gen2brain/raylib-go/raylib v0.0.0-00010101000000-000000000000

3
raylib/go.mod Normal file
View file

@ -0,0 +1,3 @@
module github.com/gen2brain/raylib-go/raylib
go 1.16

24
rres/cmd/rrem/go.mod Normal file
View file

@ -0,0 +1,24 @@
module rrem
go 1.16
replace github.com/gen2brain/raylib-go/raylib => ../raylib
require (
github.com/blezek/tga v0.0.0-20150626111426-80720cbc1017
github.com/dsnet/compress v0.0.1 // indirect
github.com/frankban/quicktest v1.13.0 // indirect
github.com/ftrvxmtrx/tga v0.0.0-20150524081124-bd8e8d5be13a // indirect
github.com/gen2brain/raylib-go v0.0.0-20210623105341-8ff192f923a5
github.com/golang/snappy v0.0.4 // indirect
github.com/jbuchbinder/gopnm v0.0.0-20150223212718-5176c556b9ce
github.com/jfreymuth/oggvorbis v1.0.3
github.com/jteeuwen/go-bindata v3.0.7+incompatible
github.com/klauspost/compress v1.13.1 // indirect
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
github.com/rootlch/encrypt v0.0.0-20120717064446-58e7f47a860b // indirect
github.com/ulikunitz/xz v0.5.10 // indirect
golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 // indirect
golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d
)

17
rres/go.mod Normal file
View file

@ -0,0 +1,17 @@
module github.com/gen2brain/raylib-go/rres
go 1.16
replace github.com/gen2brain/raylib-go/raylib => ../raylib
require (
github.com/dsnet/compress v0.0.1
github.com/frankban/quicktest v1.13.0 // indirect
github.com/gen2brain/raylib-go/raylib v0.0.0-00010101000000-000000000000
github.com/golang/snappy v0.0.4
github.com/klauspost/compress v1.13.1
github.com/pierrec/lz4 v2.6.1+incompatible
github.com/rootlch/encrypt v0.0.0-20120717064446-58e7f47a860b
github.com/ulikunitz/xz v0.5.10
golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97
)