forked from cerc-io/plugeth
all: use 'embed' instead of go-bindata (#24744)
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -17,5 +17,12 @@
|
||||
// Package deps contains the console JavaScript dependencies Go embedded.
|
||||
package deps
|
||||
|
||||
//go:generate go run github.com/kevinburke/go-bindata/go-bindata -nometadata -pkg deps -o bindata.go bignumber.js web3.js
|
||||
//go:generate gofmt -w -s bindata.go
|
||||
import (
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
//go:embed web3.js
|
||||
var Web3JS string
|
||||
|
||||
//go:embed bignumber.js
|
||||
var BigNumberJS string
|
||||
|
||||
Reference in New Issue
Block a user