diff --git a/bindings/go/README.md b/bindings/go/README.md index 691ba04..1914cba 100644 --- a/bindings/go/README.md +++ b/bindings/go/README.md @@ -62,4 +62,11 @@ go test Run the benchmarks with this command: ``` go test -bench=Benchmark -``` \ No newline at end of file +``` + +## Note + +The `go.mod` and `go.sum` files are in the project's root directory because the +bindings need access to the c-kzg-4844 source, but Go cannot reference files +outside its module/package. The best way to deal with this is to make the whole +project available, that way everything is accessible. diff --git a/bindings/go/go.mod b/go.mod similarity index 84% rename from bindings/go/go.mod rename to go.mod index c36b4a0..e765057 100644 --- a/bindings/go/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/ethereum/c-kzg-4844/bindings/go +module github.com/ethereum/c-kzg-4844 go 1.19 diff --git a/bindings/go/go.sum b/go.sum similarity index 100% rename from bindings/go/go.sum rename to go.sum