Skip to content

Commit

Permalink
refactor packages and update go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
free5gc-org committed Mar 30, 2022
1 parent f110a38 commit 7c8498f
Show file tree
Hide file tree
Showing 14 changed files with 423 additions and 326 deletions.
22 changes: 15 additions & 7 deletions .gitignore
@@ -1,22 +1,30 @@
# Swap files
*.swp

# Toolchain
# Goland project folder
# Golang project folder
.idea/

# Visual Studio Code
.vscode/

# Build
bin/
log/
vendor/
public/

# emacs/vim
GPATH
GRTAGS
GTAGS
TAGS
tags
cscope.*
# mac

# macOS
.DS_Store

# debug
# Debug
*.log
*.pcap

# build
bin/
public/
16 changes: 6 additions & 10 deletions .golangci.yml
Expand Up @@ -30,11 +30,6 @@ run:
# on Windows.
skip-files:
- "api_.*\\.go$"
- "model_.*\\.go$"
- "routers.go"
- "client.go"
- "configuration.go"
- "nas.go"
# by default isn't set. If set we pass it to "go list -mod={option}". From "go help modules":
# If invoked with -mod=readonly, the go command is disallowed from the implicit
# automatic updating of go.mod described above. Instead, it fails when any changes
Expand Down Expand Up @@ -249,13 +244,14 @@ linters:
# Additional
- lll
- godox
#- gomnd
#- goconst
# - gomnd
# - goconst
# - gocognit
# - maligned
# - nestif
# - gomodguard
- nakedret
# - golint
- gci
- misspell
- gofumpt
Expand All @@ -266,9 +262,9 @@ linters:
- dogsled
- bodyclose
- asciicheck
#- stylecheck
# - unparam
# - wsl
# - stylecheck
# - unparam
# - wsl

#disable-all: false
fast: true
Expand Down
File renamed without changes.

0 comments on commit 7c8498f

Please sign in to comment.