0
当我在ubuntu 16.04中打开visual studio代码编辑器时,它在顶部显示下面的错误。未找到shfmt错误
shfmt not found! run go get -u github.com/mvdan/sh/cmd/shfmt to install
但是我试图找出从他的官方网站解决方案,但没有得到任何解决方案。
安装golang-go
后出现以下错误。
#go get -u github.com/mvdan/sh/cmd/shfmt
输出:
go/src/github.com/mvdan/sh/cmd/shfmt/main.go:156: undefined: io.SeekStart