diff --git a/README.md b/README.md index bca7375..90292dd 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A simple utility to encode a file (or any other data) into a Go byte slice. Having [set up your Go environment](http://golang.org/doc/install), simply run - go get github.com/cratonica/2goarray + go install github.com/cloudflare-fans/2goarray Then use by piping a file into the utility and capturing the output. You must provide a name for the generated slice symbol and package name. For example: diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..b874322 --- /dev/null +++ b/go.mod @@ -0,0 +1,10 @@ +module github.com/cloudflare-fans/2goarray + +go 1.19.0 + +require golang.org/x/crypto v0.28.0 + +require ( + golang.org/x/sys v0.26.0 // indirect + golang.org/x/term v0.25.0 // indirect +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..8063669 --- /dev/null +++ b/go.sum @@ -0,0 +1,6 @@ +golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw= +golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U= +golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo= +golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/term v0.25.0 h1:WtHI/ltw4NvSUig5KARz9h521QvRC8RmF/cuYqifU24= +golang.org/x/term v0.25.0/go.mod h1:RPyXicDX+6vLxogjjRxjgD2TKtmAO6NZBsBRfrOLu7M=