2
0
mirror of synced 2025-02-20 11:08:26 +00:00

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

File diff suppressed because one or more lines are too long