-
下載專案
git clone https://github.com/doggy8088/go-start.git && cd go-start
-
執行專案
go run .
-
開啟 Visual Studio Code 編輯器
code .
-
按下
Ctrl-Shift-B
建置專案檢查
dist/
資料夾是否有建置後的執行檔! -
執行建置成品
macOS/Linux
cd dist && ./go-start
Windows
cd dist && go-start.exe
-
確認
dist/gorm.db
資料庫已被建立,並從 VSCode 開啟gorm.db
資料庫 (使用 SQLite 擴充套件)