When i open visual studio code editor in ubuntu 16.04 it shown below error at the top.
shfmt not found! run go get -u github.com/mvdan/sh/cmd/shfmt to install
However i tried to find out solution from his official website but didn't get any solution.
After installing golang-go getting below error.
#go get -u github.com/mvdan/sh/cmd/shfmt
Output:
go/src/github.com/mvdan/sh/cmd/shfmt/main.go:156: undefined: io.SeekStart
shfmt is also available on snap store:
snap install shfmt
You will have to install go first. Once you do then you can run
go get -u github.com/mvdan/sh/cmd/shfmt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With