mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 06:12:55 +00:00
74d3e5e625
Test code in `lib` package requires cgo, but cgo is not allowed in `*_test.go` files, so we import a lot of testing-related code into a library which also has a lot of side-effects. This fix adds a build tag `e2e_test` as a workaround.
13 lines
373 B
Go
13 lines
373 B
Go
package main
|
|
|
|
import "github.com/status-im/status-go/geth/api"
|
|
|
|
var statusAPI = api.NewStatusAPI()
|
|
|
|
// Technically this package supposed to be a lib for
|
|
// cross-compilation and usage with Android/iOS, but
|
|
// without main it produces cryptic errors.
|
|
// TODO(divan): investigate the cause of the errors
|
|
// and change this package to be a library if possible.
|
|
func main() {}
|