Move go.mod & go.sum to repo root (#88)

* Move go.mod & go.sum to repo root

* Add note to README
This commit is contained in:
Justin Traglia 2023-01-26 23:42:56 +01:00 committed by GitHub
parent 363c7d7593
commit 877e6a43d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View File

@ -62,4 +62,11 @@ go test
Run the benchmarks with this command:
```
go test -bench=Benchmark
```
```
## 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.

View File

@ -1,4 +1,4 @@
module github.com/ethereum/c-kzg-4844/bindings/go
module github.com/ethereum/c-kzg-4844
go 1.19