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