Skip to content

Commit

Permalink
feat: complete refactor of the codebase
Browse files Browse the repository at this point in the history
Signed-off-by: Janos Miko <[email protected]>
  • Loading branch information
janosmiko committed Jan 22, 2025
1 parent 49e5c92 commit 51f08ae
Show file tree
Hide file tree
Showing 19 changed files with 1,837 additions and 1,404 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.45.2
version: v1.63.1

build:
name: Build
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@
# vendor/

config.yaml
.env
.env
.env.*
10 changes: 5 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ linters:
enable:
- asciicheck
- bodyclose
- deadcode
- depguard
# - deadcode
# - depguard
- dogsled
- errcheck
- exhaustive
Expand All @@ -31,7 +31,7 @@ linters:
- goerr113
- gofmt
- goimports
- gomnd
# - gomnd
- goprintffuncname
- gosec
- gosimple
Expand All @@ -47,14 +47,14 @@ linters:
- revive
- rowserrcheck
- staticcheck
- structcheck
# - structcheck
- stylecheck
- testpackage
- typecheck
- unconvert
- unparam
- unused
- varcheck
# - varcheck
- whitespace
# - wsl
# don't enable:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17.8-bullseye AS build
FROM golang:1.23.4-bullseye AS build

WORKDIR /go/src/github.com/janosmiko/gitea-ldap-sync/

Expand Down
183 changes: 0 additions & 183 deletions config.go

This file was deleted.

Loading

0 comments on commit 51f08ae

Please sign in to comment.