Skip to content

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 e341b1f
Show file tree
Hide file tree
Showing 99 changed files with 2,298 additions and 3,206 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.

33 changes: 0 additions & 33 deletions common/http/http.go

This file was deleted.

33 changes: 0 additions & 33 deletions common/http/http_test.go

This file was deleted.

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

This file was deleted.

Loading

0 comments on commit e341b1f

Please sign in to comment.