Change to a backquotes

This commit is contained in:
Dmitry Shulyak 2018-03-26 14:26:27 +03:00
parent 32abfe20e5
commit a136c82b1e
2 changed files with 2 additions and 3 deletions

View File

@ -7,7 +7,6 @@ import (
"io"
"io/ioutil"
"os"
"strconv"
)
var (
@ -25,7 +24,7 @@ func main() {
fmt.Fprintf(b, "package %s\n\n", *pkg)
fmt.Fprintf(b, "// Web3CODE is a binary representation of web3js mini.\n")
fmt.Fprintf(b, "var Web3CODE = []byte(")
fmt.Fprintf(b, strconv.Quote(string(data)))
fmt.Fprintf(b, "`%s`", string(data))
fmt.Fprintf(b, ")\n")
if *dst == "" {
io.Copy(os.Stdout, b)

File diff suppressed because one or more lines are too long