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:
parent
363c7d7593
commit
877e6a43d3
|
@ -62,4 +62,11 @@ go test
|
||||||
Run the benchmarks with this command:
|
Run the benchmarks with this command:
|
||||||
```
|
```
|
||||||
go test -bench=Benchmark
|
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.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module github.com/ethereum/c-kzg-4844/bindings/go
|
module github.com/ethereum/c-kzg-4844
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
Loading…
Reference in New Issue