Skip to content

Commit

Permalink
feature. implementation
Browse files Browse the repository at this point in the history
 . version up golang ( 1.17 -> 1.18 )
 . implementation swagger
 . implementation auth
  • Loading branch information
ktkfree committed Mar 2, 2023
1 parent 2a05879 commit 6e13e6e
Show file tree
Hide file tree
Showing 42 changed files with 2,297 additions and 4,092 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
branches:
- main
- develop
- ft
env:
SERVICE: tks-api
TAG: ${{github.sha}}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
branches:
- main
- develop
- "release**"
env:
SERVICE: tks-api
TAG: ${{github.sha}}
Expand Down
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.PHONY: docs
docs:
swag init -g ./cmd/server/server.go
swag init -g ./cmd/server/main.go -o ./api/swagger

.PHONY: build
build:
go build -o output/tks-api ./cmd/server/server.go
go build -o output/tks-api ./cmd/server/main.go

.PHONY: run
run:
Expand All @@ -14,3 +14,8 @@ run:
test:
go test -v ./...

.PHONY: dev_run
dev_run:
swag init -g ./cmd/server/main.go -o ./api/swagger
go build ./cmd/server/main.go
./main
Loading

0 comments on commit 6e13e6e

Please sign in to comment.