Feat(ktm-booking): Initial commit
Some checks failed
ktm-booking-bot/ktm-booking-bot/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
2022-09-27 02:50:07 +08:00
commit 7cf10b07d4
44 changed files with 4569 additions and 0 deletions

16
scripts/build.sh Executable file
View File

@@ -0,0 +1,16 @@
#! /bin/bash
# Install goswag
go install github.com/swaggo/swag/cmd/swag@v1.8.4
# go to backend directory
cd backend
# rebuild swagger docs
swag init --dir cmd/server/ --parseDependency
# build binary
go build git.samuelpua.com/telboon/ktm-train-bot/backend/cmd/server
# go to base directory
cd ..