基本工具

Auto import and Format

在vscode中安裝lukehoban的go plugin之後shift+alt+f

即會自動排版和import package

Web server Live reload

使用 Air tool:

使用 Gin:

https://github.com/codegangsta/gin

建一個資料夾  裡面放test.go檔案
然後輸入gin run test.go

Last updated

Was this helpful?