Change to a backquotes
This commit is contained in:
parent
32abfe20e5
commit
a136c82b1e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue