diff --git a/posts/2023-07-01-pastebin.md b/posts/2023-07-01-pastebin.md index f32e2ea..cb17ff5 100644 --- a/posts/2023-07-01-pastebin.md +++ b/posts/2023-07-01-pastebin.md @@ -282,10 +282,12 @@ linters: - typecheck - unused # Custom + - bodyclose - err113 - errchkjson - errname - errorlint + - fatcontext - forcetypeassert - gocritic - gofumpt @@ -359,32 +361,6 @@ issues: - ".*_mock.*" ``` -`.goreleaser.yml`: - -```yaml -before: - hooks: - - go mod tidy -builds: - - main: . - goos: - - linux - - windows - - darwin - goarch: - - amd64 - - arm64 -universal_binaries: - - replace: true -archives: - - format_overrides: - - goos: windows - format: zip -changelog: - skip: false - use: github -``` - ## ssh config Edit `~/.ssh/config`