Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 281 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 281 Bytes

Install go-binfmt.

$ go get github.com/str1ngs/go-binfmt

To use go-binfmt first register it with binfmt.

$ sudo $GOPATH/bin/go-binfmt -register

To run a go file give it executable permissions, and then run it.

$ chmod +x main.go
$ ./main.go