Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicola Strappazzon C committed Oct 8, 2023
1 parent 0934b40 commit 5883325
Show file tree
Hide file tree
Showing 91 changed files with 1,917 additions and 2,064 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.21

- name: Format
run: diff -u <(echo -n) <(gofmt -d ./)
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.21

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ tests: ## Run tests
@go test -cover -race -coverprofile=coverage.txt -covermode=atomic ./...

build: ## Build binary for local operating system
@go env -w CGO_ENABLED="0"
@go generate ./...
@go build -ldflags "-s -w -X github.com/debeando/zenit/command.BuildTime=$(BUILD_DATE)" -o zenit main.go

Expand Down
87 changes: 0 additions & 87 deletions command/command.go

This file was deleted.

59 changes: 0 additions & 59 deletions command/daemon/daemon.go

This file was deleted.

16 changes: 0 additions & 16 deletions command/version.go

This file was deleted.

53 changes: 0 additions & 53 deletions common/log/log.go

This file was deleted.

152 changes: 0 additions & 152 deletions common/mysql/mysql.go

This file was deleted.

Loading

0 comments on commit 5883325

Please sign in to comment.