Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: golang entities for repository pattern #2842

Merged
merged 14 commits into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions go/.golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ linters-settings:
- "^github.com/urfave/cli/v2.*$"

lll:
line-length: 100
line-length: 120
funlen:
# Checks the number of lines in a function.
# If lower than 0, disable the check.
Expand Down Expand Up @@ -188,6 +188,11 @@ linters-settings:
packages:
- github.com/jmoiron/sqlx

wrapcheck:
extra-ignore-sigs:
- fault.New(
ignoreSigRegexps:
- mw\.next\..*
sloglint:
# Enforce not using global loggers.
# Values:
Expand Down Expand Up @@ -254,7 +259,7 @@ linters:
# - goprintffuncname # checks that printf-like functions are named with f at the end
- gosec # inspects source code for security problems
# - intrange # finds places where for loops could make use of an integer range
- lll # reports long lines
# - lll # reports long lines
- loggercheck # checks key value pairs for common logger libraries (kitlog,klog,logr,zap)
# - makezero # finds slice declarations with non-zero initial length
# - mirror # reports wrong mirror patterns of bytes/strings usage
Expand Down
Loading
Loading