Files
go-gin-api/scripts/init.bat
T
2021-06-22 15:20:07 +08:00

13 lines
184 B
Batchfile

@echo off
chcp 65001
echo.
echo Init db
echo.
go run -v ./cmd/init/db/main.go -addr %1 -user %2 -pass %3 -name %4
if %errorlevel% == 1 (
echo.
echo failed!!!
exit 1
)
echo.
echo Done.