all: use 'embed' instead of go-bindata (#24744)

This commit is contained in:
s7v7nislands
2022-04-25 11:15:14 +02:00
committed by GitHub
parent 63972e7548
commit 7ab15490e9
15 changed files with 49 additions and 148163 deletions
File diff suppressed because one or more lines are too long
+9 -2
View File
@@ -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