Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
goSDN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
goSDN
Merge requests
!247
Develop
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Develop
develop
into
master
Overview
0
Commits
18
Pipelines
67
Changes
13
Merged
Ghost User
requested to merge
develop
into
master
3 years ago
Overview
0
Commits
18
Pipelines
67
Changes
13
Expand
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
My code follows the code style of this project.
My change requires a change to the documentation.
I have updated the documentation accordingly.
I have read the
CONTRIBUTING
document.
I have added tests to cover my changes.
All new and existing tests passed.
Edited
3 years ago
by
Ghost User
0
0
Merge request reports
Viewing commit
6d359356
Prev
Next
Show latest version
13 files
+
485
−
425
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
13
Search (e.g. *.vue) (Ctrl+P)
6d359356
Provide basic Makefile
· 6d359356
Andre Sterba
authored
3 years ago
.gitlab/ci/.golangci-config/.golangci.yml
+
32
−
32
Options
run
:
timeout
:
10m
issues-exit-code
:
1
# directories to be ignored by linters
skip-dirs
:
-
forks
-
test
skip-dirs-default
:
true
skip-files
:
-
http.go
timeout
:
10m
issues-exit-code
:
1
# directories to be ignored by linters
skip-dirs
:
-
forks
-
test
skip-dirs-default
:
true
skip-files
:
-
http.go
# output settings -> code-climate for GitLab
output
:
format
:
code-climate
print-issued-lines
:
true
print-linter-name
:
true
uniq-by-line
:
true
path-prefix
:
"
"
format
:
code-climate
print-issued-lines
:
true
print-linter-name
:
true
uniq-by-line
:
true
path-prefix
:
"
"
# custom settings for linters
linters-settings
:
gocyclo
:
min-complexity
:
15
golint
:
min-confidence
:
0.8
gocyclo
:
min-complexity
:
15
golint
:
min-confidence
:
0.8
# enable the specific needed linters
linters
:
disable-all
:
true
enable
:
-
gofmt
-
goimports
-
gocyclo
-
govet
-
unused
-
staticcheck
-
typecheck
-
revive
-
whitespace
disable-all
:
true
enable
:
-
gofmt
-
goimports
-
gocyclo
-
govet
-
unused
-
staticcheck
-
typecheck
-
revive
-
whitespace
issues
:
exclude-use-default
:
false
max-issues-per-linter
:
0
max-same-issues
:
0
exclude-use-default
:
false
max-issues-per-linter
:
0
max-same-issues
:
0
Loading