bencode is a golang package for bencoding and bdecoding data from and from to equivalents.

Bencode

License Go Reference Test

bencode is a golang package for bencoding and bdecoding data from and from to equivalents.

Bencode (pronounced like Ben-code) is the encoding used by the peer-to-peer file sharing system BitTorrent for storing and transmitting loosely structured data. Wikipedia

Installation

go get github.com/ArunMurugan78/bencode

Quick Start

package main

import (
	"bytes"
	"fmt"

	"github.com/ArunMurugan78/bencode"
)

func main() {
	data := map[string]interface{}{"name": "rose", "list": []interface{}{"pickachu", "anakin", "NYC", 78}}

	encodedData, _ := bencode.Encode(data)

	fmt.Println(string(encodedData)) // d4:listl8:pickachu6:anakin3:NYCi78ee4:name4:rosee

	decodedData, _ := bencode.Parse(bytes.NewReader(encodedData))

	fmt.Println(decodedData) // map[list:[pickachu anakin NYC 78] name:rose]
}

Invalid Data?

To be able to encode a given data into bencode, it's data type has to be one of the below.

Type Description
int Can be any one of the int and uint variants.
string UTF-8 encoded strings.
[]interface{} The slice can hold any one of the valid data type.
map[string]interface{} The key has to be a string and the value can be any one of the valid data type.

License

The project is licensed under the MIT license.

Comments
  • chore(deps): bump github.com/golangci/golangci-lint from 1.42.1 to 1.50.0 in /tools

    chore(deps): bump github.com/golangci/golangci-lint from 1.42.1 to 1.50.0 in /tools

    Bumps github.com/golangci/golangci-lint from 1.42.1 to 1.50.0.

    Release notes

    Sourced from github.com/golangci/golangci-lint's releases.

    v1.50.0

    Changelog

    • 890a8265 Normalize exclude-rules paths for Windows (#2387)
    • db4955a3 build(deps): bump github.com/OpenPeeDeeP/depguard from 1.1.0 to 1.1.1 (#3186)
    • 937e3d40 build(deps): bump github.com/curioswitch/go-reassign v0.1.2 to v0.2.0 (#3234)
    • 40082da3 build(deps): bump github.com/daixiang0/gci from 0.6.3 to 0.7.0 (#3190)
    • c78bc230 build(deps): bump github.com/daixiang0/gci from 0.7.0 to 0.8.0 (#3241)
    • 28d70954 build(deps): bump github.com/go-critic/go-critic from 0.6.4 to 0.6.5 (#3150)
    • ff61ea9f build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.0 to 1.1.1 (#3208)
    • 0a581b3c build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.1 to 1.1.2 (#3243)
    • 0a94c369 build(deps): bump github.com/mgechev/revive from 1.2.3 to 1.2.4 (#3257)
    • 33a78c92 build(deps): bump github.com/nishanths/exhaustive from 0.8.1 to 0.8.3 (#3207)
    • d5dc2a19 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.2 to 1.0.3 (#3209)
    • ac95c85f build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.3 to 1.0.4 (#3226)
    • b5203c38 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.4 to 1.0.5 (#3254)
    • 4189d1cc build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.13.0 to 1.14.0 (#3147)
    • 70d595e9 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.14.0 to 1.17.1 (#3188)
    • 1f155b7e build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.17.1 to 1.19.0 (#3206)
    • d1dc9ae4 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.19.0 to 1.19.1 (#3242)
    • e3aa30f3 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.19.1 to 1.20.0 (#3255)
    • 24f86dfd build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.7 to 3.22.8 (#3187)
    • 704109c6 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.8 to 3.22.9 (#3267)
    • 794f00c0 build(deps): bump github.com/spf13/viper from 1.12.0 to 1.13.0 (#3205)
    • 942e7e51 build(deps): bump github.com/sylvia7788/contextcheck from 1.0.6 to 1.0.8 (#3148)
    • ed47d7bf build(deps): bump github.com/sylvia7788/contextcheck from 1.0.8 to 1.0.9 (#3189)
    • 2019f766 build(deps): bump mvdan.cc/gofumpt from 0.3.1 to 0.4.0 (#3256)
    • 0d33a5ba cli: remove reference to old service (#3173)
    • 213fb565 contextcheck: change owner (#3198)
    • 8a3b754c exhaustive: add missing config (#3212)
    • febe5fdb feat: add linter dupword (#3192)
    • 281e1847 feat: add testableexamples linter (#3170)
    • 3a2ad908 feat: rename logrlint to loggercheck (#3144)
    • aba80c7f feat: update gofmt and goimports and add option "rewrite-rules" (#3174)
    • 091d2f43 interfacebloat: fix configuration loading (#3194)
    • 05c3af1a paralleltest: add tests of the ignore-missing option (#3233)
    • b1cec475 wsl: support all configs and update docs (#3202)

    v1.49.0

    Changelog

    • 69a49cf6 build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.2.2 to 2.3.0 (#3122)
    • 9da04f50 build(deps): bump github.com/go-critic/go-critic from 0.6.3 to 0.6.4 (#3089)
    • 1bb23af9 build(deps): bump github.com/mattn/go-colorable from 0.1.12 to 0.1.13 (#3123)
    • be10ef26 build(deps): bump github.com/mgechev/revive from 1.2.1 to 1.2.2 (#3075)
    • 1ca9affe build(deps): bump github.com/mgechev/revive from 1.2.2 to 1.2.3 (#3091)
    • f78f6dd3 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.0 to 1.0.1 (#3092)
    • edeaa17f build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.1 to 1.0.2 (#3097)
    • 14714050 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.10.0 to 1.13.0 (#3120)
    • 0e044f25 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.8.0 to 1.10.0 (#3090)
    • d57145d4 build(deps): bump github.com/securego/gosec/v2 from 2.12.0 to 2.13.1 (#3119)
    • a813244b build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.6 to 3.22.7 (#3074)

    ... (truncated)

    Changelog

    Sourced from github.com/golangci/golangci-lint's changelog.

    v1.50.0

    1. new linters
    2. updated linters
      • contextcheck: change owner
      • contextcheck: from 1.0.6 to 1.1.2
      • depguard: from 1.1.0 to 1.1.1
      • exhaustive: add missing config
      • exhaustive: from 0.8.1 to 0.8.3
      • gci: from 0.6.3 to 0.8.0
      • go-critic: from 0.6.4 to 0.6.5
      • go-errorlint: from 1.0.2 to 1.0.5
      • go-reassign: v0.1.2 to v0.2.0
      • gofmt: add option rewrite-rules
      • gofumpt from 0.3.1 to 0.4.0
      • goimports: update to HEAD
      • interfacebloat: fix configuration loading
      • logrlint: rename logrlint to loggercheck
      • paralleltest: add tests of the ignore-missing option
      • revive: from 1.2.3 to 1.2.4
      • usestdlibvars: from 1.13.0 to 1.20.0
      • wsl: support all configs and update docs
    3. misc.
      • Normalize exclude-rules paths for Windows
      • add riscv64 to the install script
    4. Documentation
      • cli: remove reference to old service

    v1.49.0

    IMPORTANT: varcheck and deadcode has been removed of default linters.

    1. new linters
    2. updated linters
      • go-colorable: from 0.1.12 to 0.1.13
      • go-critic: from 0.6.3 to 0.6.4
      • go-errorlint: from 1.0.0 to 1.0.2
      • go-exhaustruct: from 2.2.2 to 2.3.0
      • gopsutil: from 3.22.6 to 3.22.7
      • gosec: from 2.12.0 to 2.13.1
      • revive: from 1.2.1 to 1.2.3
      • usestdlibvars: from 1.8.0 to 1.13.0
      • contextcheck: from v1.0.4 to v1.0.6 && re-enable
      • nosnakecase: This linter is deprecated.
      • varcheck: This linter is deprecated use unused instead.

    ... (truncated)

    Commits
    • 704109c build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.8 to 3.22.9 (#3267)
    • 80338b8 build(deps): bump eventsource and @​graphql-tools/url-loader in /docs (#3266)
    • 3fdd519 build(deps): bump gatsby-remark-autolink-headers from 5.15.1 to 5.24.0 in /do...
    • fad2e8c build(deps): bump gatsby-remark-copy-linked-files from 5.22.0 to 5.24.0 in /d...
    • 264ad7b build(deps): bump @​emotion/react from 11.9.0 to 11.10.4 in /docs (#3262)
    • c3627de build(deps): bump gatsby-plugin-offline from 5.19.0 to 5.24.0 in /docs (#3261)
    • ccebcf5 build(deps): bump gatsby-remark-responsive-iframe from 5.21.0 to 5.24.0 in /d...
    • 0a94c36 build(deps): bump github.com/mgechev/revive from 1.2.3 to 1.2.4 (#3257)
    • 2019f76 build(deps): bump mvdan.cc/gofumpt from 0.3.1 to 0.4.0 (#3256)
    • e3aa30f build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.19.1 to 1.20...
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/golangci/golangci-lint from 1.42.1 to 1.49.0 in /tools

    chore(deps): bump github.com/golangci/golangci-lint from 1.42.1 to 1.49.0 in /tools

    Bumps github.com/golangci/golangci-lint from 1.42.1 to 1.49.0.

    Release notes

    Sourced from github.com/golangci/golangci-lint's releases.

    v1.49.0

    Changelog

    • 69a49cf6 build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.2.2 to 2.3.0 (#3122)
    • 9da04f50 build(deps): bump github.com/go-critic/go-critic from 0.6.3 to 0.6.4 (#3089)
    • 1bb23af9 build(deps): bump github.com/mattn/go-colorable from 0.1.12 to 0.1.13 (#3123)
    • be10ef26 build(deps): bump github.com/mgechev/revive from 1.2.1 to 1.2.2 (#3075)
    • 1ca9affe build(deps): bump github.com/mgechev/revive from 1.2.2 to 1.2.3 (#3091)
    • f78f6dd3 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.0 to 1.0.1 (#3092)
    • edeaa17f build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.1 to 1.0.2 (#3097)
    • 14714050 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.10.0 to 1.13.0 (#3120)
    • 0e044f25 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.8.0 to 1.10.0 (#3090)
    • d57145d4 build(deps): bump github.com/securego/gosec/v2 from 2.12.0 to 2.13.1 (#3119)
    • a813244b build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.6 to 3.22.7 (#3074)
    • cc2d97f3 contextcheck: bump to v1.0.6 && re-enable (#3102)
    • 63b2fe00 feat: add interfacebloat (#3024)
    • f48530e2 feat: add logrlint (#3093)
    • 58809c3b feat: add reassign linter (#3064)
    • 37d3aa43 feat: deprecate varcheck, deadcode, and structcheck (#3125)
    • da3b1496 fix: exit early on run --version (#3067)
    • 970b0a5b fix: set an explicit GOROOT in the Docker image for go-critic (#3106)
    • d4fd2db3 nosnakecase: deprecate linter (#3065)

    v1.48.0

    Changelog

    • 368c41cd build(deps): bump github.com/daixiang0/gci from 0.5.0 to 0.6.0 (#3035)
    • 2d8fea81 build(deps): bump github.com/daixiang0/gci from 0.6.0 to 0.6.2 (#3058)
    • aeb5860c build(deps): bump github.com/kisielk/errcheck from 1.6.1 to 1.6.2 (#3059)
    • 0559b922 build(deps): bump revgrep to HEAD (#3054)
    • 6313fa9a contextcheck: disable linter (#3050)
    • 0ba1388a feat: add usestdlibvars (#3016)
    • 1557692e feat: go1.19 support (#3037)
    • 15cba447 gci: add missing custom-order setting (#3052)
    • 9a1b9492 ifshort: deprecate linter (#3034)
    • f8f8f9a6 nolint: drop allow-leading-space option and add "nolint:all" (#3002)

    v1.47.3

    Changelog

    • 72fc41ce build(deps): bump github.com/BurntSushi/toml from 1.1.0 to 1.2.0 (#3009)
    • 57d61afb build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.2.0 to 2.2.2 (#3030)
    • 9cb17e4f build(deps): bump github.com/alingse/asasalint from 0.0.10 to 0.0.11 (#3003)
    • 2ab46788 build(deps): bump github.com/daixiang0/gci from 0.4.3 to 0.5.0 (#3031)
    • 03d9b113 build(deps): bump github.com/ryancurrah/gomodguard from 1.2.3 to 1.2.4 (#3029)
    • e55f22c7 build(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0 (#3010)
    • c7ed8b67 build(deps): bump github.com/sivchari/nosnakecase from 1.5.0 to 1.7.0 (#3008)
    • 95d57d99 build(deps): bump gitlab.com/bosi/decorder from 0.2.2 to 0.2.3 (#3033)
    • d186efe9 build(deps): bump honnef.co/go/tools from 0.3.2 to 0.3.3 (#3032)
    • 846fab81 cgo: fix linters ignoring Cgo files (#3025)
    • d44cd49a feat: remove some go1.18 limitations (#3001)
    • 886fbd71 gci: fix panic with invalid configuration option (#3019)

    ... (truncated)

    Changelog

    Sourced from github.com/golangci/golangci-lint's changelog.

    v1.49.0

    IMPORTANT: varcheck and deadcode has been removed of default linters.

    1. new linters
    2. updated linters
      • go-colorable: from 0.1.12 to 0.1.13
      • go-critic: from 0.6.3 to 0.6.4
      • go-errorlint: from 1.0.0 to 1.0.2
      • go-exhaustruct: from 2.2.2 to 2.3.0
      • gopsutil: from 3.22.6 to 3.22.7
      • gosec: from 2.12.0 to 2.13.1
      • revive: from 1.2.1 to 1.2.3
      • usestdlibvars: from 1.8.0 to 1.13.0
      • contextcheck: from v1.0.4 to v1.0.6 && re-enable
      • nosnakecase: This linter is deprecated.
      • varcheck: This linter is deprecated use unused instead.
      • deadcode: This linter is deprecated use unused instead.
      • structcheck: This linter is deprecated use unused instead.
    3. documentation
      • revive: fix wrong URL
      • Add a section about default exclusions
      • usestdlibvars: fix typo in documentation
      • nolintlint: remove allow-leading-space option
      • Update documentation and assets
    4. misc.
      • dev: rewrite the internal tests framework
      • fix: exit early on run --version
      • fix: set an explicit GOROOT in the Docker image for go-critic

    v1.48.0

    1. new linters
    2. updated linters
      • contextcheck: disable linter
      • errcheck: from 1.6.1 to 1.6.2
      • gci: add missing custom-order setting
      • gci: from 0.5.0 to 0.6.0
      • ifshort: deprecate linter
      • nolint: drop allow-leading-space option and add "nolint:all"
      • revgrep: bump to HEAD
    3. documentation
      • remove outdated info on source install
    4. misc
      • go1.19 support

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/golangci/golangci-lint from 1.42.1 to 1.48.0 in /tools

    chore(deps): bump github.com/golangci/golangci-lint from 1.42.1 to 1.48.0 in /tools

    Bumps github.com/golangci/golangci-lint from 1.42.1 to 1.48.0.

    Release notes

    Sourced from github.com/golangci/golangci-lint's releases.

    v1.48.0

    Changelog

    • 368c41cd build(deps): bump github.com/daixiang0/gci from 0.5.0 to 0.6.0 (#3035)
    • 2d8fea81 build(deps): bump github.com/daixiang0/gci from 0.6.0 to 0.6.2 (#3058)
    • aeb5860c build(deps): bump github.com/kisielk/errcheck from 1.6.1 to 1.6.2 (#3059)
    • 0559b922 build(deps): bump revgrep to HEAD (#3054)
    • 6313fa9a contextcheck: disable linter (#3050)
    • 0ba1388a feat: add usestdlibvars (#3016)
    • 1557692e feat: go1.19 support (#3037)
    • 15cba447 gci: add missing custom-order setting (#3052)
    • 9a1b9492 ifshort: deprecate linter (#3034)
    • f8f8f9a6 nolint: drop allow-leading-space option and add "nolint:all" (#3002)

    v1.47.3

    Changelog

    • 72fc41ce build(deps): bump github.com/BurntSushi/toml from 1.1.0 to 1.2.0 (#3009)
    • 57d61afb build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.2.0 to 2.2.2 (#3030)
    • 9cb17e4f build(deps): bump github.com/alingse/asasalint from 0.0.10 to 0.0.11 (#3003)
    • 2ab46788 build(deps): bump github.com/daixiang0/gci from 0.4.3 to 0.5.0 (#3031)
    • 03d9b113 build(deps): bump github.com/ryancurrah/gomodguard from 1.2.3 to 1.2.4 (#3029)
    • e55f22c7 build(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0 (#3010)
    • c7ed8b67 build(deps): bump github.com/sivchari/nosnakecase from 1.5.0 to 1.7.0 (#3008)
    • 95d57d99 build(deps): bump gitlab.com/bosi/decorder from 0.2.2 to 0.2.3 (#3033)
    • d186efe9 build(deps): bump honnef.co/go/tools from 0.3.2 to 0.3.3 (#3032)
    • 846fab81 cgo: fix linters ignoring Cgo files (#3025)
    • d44cd49a feat: remove some go1.18 limitations (#3001)
    • 886fbd71 gci: fix panic with invalid configuration option (#3019)

    v1.47.2

    Changelog

    • 61673b34 revive: ignore slow rules (#2999)

    v1.47.1

    Changelog

    • a91463cd build(deps): bump github.com/daixiang0/gci from 0.4.2 to 0.4.3 (#2992)
    • 4c8bdc70 build(deps): bump github.com/sivchari/tenv from 1.6.0 to 1.7.0 (#2988)
    • 4e60e8a8 gci: fix options display (#2989)
    • fd87bd1e gci: remove the use of stdin (#2984)

    v1.47.0

    Changelog

    • b4154027 Add linter asasalint to lint pass []any as any (#2968)
    • 1d8a15a0 add nosnakecase lint (#2828)
    • 2a1edcef build(deps): bump github.com/Antonboom/errname from 0.1.6 to 0.1.7 (#2888)
    • c766184c build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.1.0 to 2.2.0 (#2916)
    • b8f1e2a5 build(deps): bump github.com/daixiang0/gci from 0.3.4 to 0.4.0 (#2965)
    • 5e183652 build(deps): bump github.com/daixiang0/gci from 0.4.0 to 0.4.1 (#2973)
    • e60937a1 build(deps): bump github.com/daixiang0/gci from 0.4.1 to 0.4.2 (#2979)

    ... (truncated)

    Changelog

    Sourced from github.com/golangci/golangci-lint's changelog.

    v1.48.0

    1. new linters
    2. updated linters
      • contextcheck: disable linter
      • errcheck: from 1.6.1 to 1.6.2
      • gci: add missing custom-order setting
      • gci: from 0.5.0 to 0.6.0
      • ifshort: deprecate linter
      • nolint: drop allow-leading-space option and add "nolint:all"
      • revgrep: bump to HEAD
    3. documentation
      • remove outdated info on source install
    4. misc
      • go1.19 support

    v1.47.3

    1. updated linters:
      • remove some go1.18 limitations
      • asasalint: from 0.0.10 to 0.0.11
      • decorder: from 0.2.2 to v0.2.3
      • gci: fix panic with invalid configuration option
      • gci: from 0.4.3 to v0.5.0
      • go-exhaustruct: from 2.2.0 to 2.2.2
      • gomodguard: from 1.2.3 to 1.2.4
      • nosnakecase: from 1.5.0 to 1.7.0
      • honnef.co/go/tools: from 0.3.2 to v0.3.3
    2. misc
      • cgo: fix linters ignoring CGo files

    v1.47.2

    1. updated linters:
      • revive: ignore slow rules

    v1.47.1

    1. updated linters:
      • gci: from 0.4.2 to 0.4.3
      • gci: remove the use of stdin
      • gci: fix options display
      • tenv: from 1.6.0 to 1.7.0
      • unparam: bump to HEAD

    v1.47.0

    1. new linters:

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/golangci/golangci-lint from 1.42.1 to 1.47.3 in /tools

    chore(deps): bump github.com/golangci/golangci-lint from 1.42.1 to 1.47.3 in /tools

    Bumps github.com/golangci/golangci-lint from 1.42.1 to 1.47.3.

    Release notes

    Sourced from github.com/golangci/golangci-lint's releases.

    v1.47.3

    Changelog

    • 72fc41ce build(deps): bump github.com/BurntSushi/toml from 1.1.0 to 1.2.0 (#3009)
    • 57d61afb build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.2.0 to 2.2.2 (#3030)
    • 9cb17e4f build(deps): bump github.com/alingse/asasalint from 0.0.10 to 0.0.11 (#3003)
    • 2ab46788 build(deps): bump github.com/daixiang0/gci from 0.4.3 to 0.5.0 (#3031)
    • 03d9b113 build(deps): bump github.com/ryancurrah/gomodguard from 1.2.3 to 1.2.4 (#3029)
    • e55f22c7 build(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0 (#3010)
    • c7ed8b67 build(deps): bump github.com/sivchari/nosnakecase from 1.5.0 to 1.7.0 (#3008)
    • 95d57d99 build(deps): bump gitlab.com/bosi/decorder from 0.2.2 to 0.2.3 (#3033)
    • d186efe9 build(deps): bump honnef.co/go/tools from 0.3.2 to 0.3.3 (#3032)
    • 846fab81 cgo: fix linters ignoring Cgo files (#3025)
    • d44cd49a feat: remove some go1.18 limitations (#3001)
    • 886fbd71 gci: fix panic with invalid configuration option (#3019)

    v1.47.2

    Changelog

    • 61673b34 revive: ignore slow rules (#2999)

    v1.47.1

    Changelog

    • a91463cd build(deps): bump github.com/daixiang0/gci from 0.4.2 to 0.4.3 (#2992)
    • 4c8bdc70 build(deps): bump github.com/sivchari/tenv from 1.6.0 to 1.7.0 (#2988)
    • 4e60e8a8 gci: fix options display (#2989)
    • fd87bd1e gci: remove the use of stdin (#2984)

    v1.47.0

    Changelog

    • b4154027 Add linter asasalint to lint pass []any as any (#2968)
    • 1d8a15a0 add nosnakecase lint (#2828)
    • 2a1edcef build(deps): bump github.com/Antonboom/errname from 0.1.6 to 0.1.7 (#2888)
    • c766184c build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.1.0 to 2.2.0 (#2916)
    • b8f1e2a5 build(deps): bump github.com/daixiang0/gci from 0.3.4 to 0.4.0 (#2965)
    • 5e183652 build(deps): bump github.com/daixiang0/gci from 0.4.0 to 0.4.1 (#2973)
    • e60937a1 build(deps): bump github.com/daixiang0/gci from 0.4.1 to 0.4.2 (#2979)
    • 98c811d0 build(deps): bump github.com/firefart/nonamedreturns from 1.0.1 to 1.0.2 (#2929)
    • 023e1c4f build(deps): bump github.com/firefart/nonamedreturns from 1.0.2 to 1.0.4 (#2944)
    • 7fbb11ca build(deps): bump github.com/fzipp/gocyclo from 0.5.1 to 0.6.0 (#2926)
    • db5d58cd build(deps): bump github.com/hashicorp/go-version from 1.4.0 to 1.5.0 (#2873)
    • f75b1a8b build(deps): bump github.com/hashicorp/go-version from 1.5.0 to 1.6.0 (#2958)
    • 75be924e build(deps): bump github.com/kisielk/errcheck from 1.6.0 to 1.6.1 (#2871)
    • 33f4aeeb build(deps): bump github.com/kulti/thelper from 0.6.2 to 0.6.3 (#2872)
    • 6a412d3d build(deps): bump github.com/kunwardeep/paralleltest from 1.0.3 to 1.0.4 (#2907)
    • 97eea6ea build(deps): bump github.com/kunwardeep/paralleltest from 1.0.4 to 1.0.6 (#2918)
    • 3a0f646e build(deps): bump github.com/maratori/testpackage from 1.0.1 to 1.1.0 (#2945)
    • 92d7022d build(deps): bump github.com/nishanths/exhaustive from 0.7.11 to 0.8.1 (#2906)
    • 97d7415b build(deps): bump github.com/quasilyte/go-ruleguard/dsl from 0.3.19 to 0.3.21 (#2874)
    • 0e3730d3 build(deps): bump github.com/securego/gosec/v2 from 2.11.0 to 2.12.0 (#2925)

    ... (truncated)

    Changelog

    Sourced from github.com/golangci/golangci-lint's changelog.

    v1.47.3

    1. updated linters:
      • remove some go1.18 limitations
      • asasalint: from 0.0.10 to 0.0.11
      • decorder: from 0.2.2 to v0.2.3
      • gci: fix panic with invalid configuration option
      • gci: from 0.4.3 to v0.5.0
      • go-exhaustruct: from 2.2.0 to 2.2.2
      • gomodguard: from 1.2.3 to 1.2.4
      • nosnakecase: from 1.5.0 to 1.7.0
      • honnef.co/go/tools: from 0.3.2 to v0.3.3
    2. misc
      • cgo: fix linters ignoring CGo files

    v1.47.2

    1. updated linters:
      • revive: ignore slow rules

    v1.47.1

    1. updated linters:
      • gci: from 0.4.2 to 0.4.3
      • gci: remove the use of stdin
      • gci: fix options display
      • tenv: from 1.6.0 to 1.7.0
      • unparam: bump to HEAD

    v1.47.0

    1. new linters:
    2. updated linters:
      • decorder: from 0.2.1 to 0.2.2
      • errcheck: from 1.6.0 to 1.6.1
      • errname: from 0.1.6 to 0.1.7
      • exhaustive: from 0.7.11 to 0.8.1
      • gci: fix issues and re-enable autofix
      • gci: from 0.3.4 to 0.4.2
      • go-exhaustruct: from 2.1.0 to 2.2.0
      • go-ruleguard: from 0.3.19 to 0.3.21
      • gocognit: from 1.0.5 to 1.0.6
      • gocyclo: from 0.5.1 to 0.6.0
      • golang.org/x/tools: bump to HEAD
      • gosec: allow global config
      • gosec: from 2.11.0 to 2.12.0
      • nonamedreturns: from 1.0.1 to 1.0.4
      • paralleltest: from 1.0.3 to 1.0.6

    ... (truncated)

    Commits
    • d186efe build(deps): bump honnef.co/go/tools from 0.3.2 to 0.3.3 (#3032)
    • 57d61af build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.2.0...
    • 95d57d9 build(deps): bump gitlab.com/bosi/decorder from 0.2.2 to 0.2.3 (#3033)
    • 2ab4678 build(deps): bump github.com/daixiang0/gci from 0.4.3 to 0.5.0 (#3031)
    • 03d9b11 build(deps): bump github.com/ryancurrah/gomodguard from 1.2.3 to 1.2.4 (#3029)
    • cee90e3 docs: fix broken license link (#3028)
    • 846fab8 cgo: fix linters ignoring Cgo files (#3025)
    • 886fbd7 gci: fix panic with invalid configuration option (#3019)
    • d03608f doc: add Bytebase info the trusted-by page (#3013)
    • a9dc1ce dev: change format like function without args (#3012)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/golangci/golangci-lint from 1.42.1 to 1.47.2 in /tools

    chore(deps): bump github.com/golangci/golangci-lint from 1.42.1 to 1.47.2 in /tools

    Bumps github.com/golangci/golangci-lint from 1.42.1 to 1.47.2.

    Release notes

    Sourced from github.com/golangci/golangci-lint's releases.

    v1.47.2

    Changelog

    • 61673b34 revive: ignore slow rules (#2999)

    v1.47.1

    Changelog

    • a91463cd build(deps): bump github.com/daixiang0/gci from 0.4.2 to 0.4.3 (#2992)
    • 4c8bdc70 build(deps): bump github.com/sivchari/tenv from 1.6.0 to 1.7.0 (#2988)
    • 4e60e8a8 gci: fix options display (#2989)
    • fd87bd1e gci: remove the use of stdin (#2984)

    v1.47.0

    Changelog

    • b4154027 Add linter asasalint to lint pass []any as any (#2968)
    • 1d8a15a0 add nosnakecase lint (#2828)
    • 2a1edcef build(deps): bump github.com/Antonboom/errname from 0.1.6 to 0.1.7 (#2888)
    • c766184c build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.1.0 to 2.2.0 (#2916)
    • b8f1e2a5 build(deps): bump github.com/daixiang0/gci from 0.3.4 to 0.4.0 (#2965)
    • 5e183652 build(deps): bump github.com/daixiang0/gci from 0.4.0 to 0.4.1 (#2973)
    • e60937a1 build(deps): bump github.com/daixiang0/gci from 0.4.1 to 0.4.2 (#2979)
    • 98c811d0 build(deps): bump github.com/firefart/nonamedreturns from 1.0.1 to 1.0.2 (#2929)
    • 023e1c4f build(deps): bump github.com/firefart/nonamedreturns from 1.0.2 to 1.0.4 (#2944)
    • 7fbb11ca build(deps): bump github.com/fzipp/gocyclo from 0.5.1 to 0.6.0 (#2926)
    • db5d58cd build(deps): bump github.com/hashicorp/go-version from 1.4.0 to 1.5.0 (#2873)
    • f75b1a8b build(deps): bump github.com/hashicorp/go-version from 1.5.0 to 1.6.0 (#2958)
    • 75be924e build(deps): bump github.com/kisielk/errcheck from 1.6.0 to 1.6.1 (#2871)
    • 33f4aeeb build(deps): bump github.com/kulti/thelper from 0.6.2 to 0.6.3 (#2872)
    • 6a412d3d build(deps): bump github.com/kunwardeep/paralleltest from 1.0.3 to 1.0.4 (#2907)
    • 97eea6ea build(deps): bump github.com/kunwardeep/paralleltest from 1.0.4 to 1.0.6 (#2918)
    • 3a0f646e build(deps): bump github.com/maratori/testpackage from 1.0.1 to 1.1.0 (#2945)
    • 92d7022d build(deps): bump github.com/nishanths/exhaustive from 0.7.11 to 0.8.1 (#2906)
    • 97d7415b build(deps): bump github.com/quasilyte/go-ruleguard/dsl from 0.3.19 to 0.3.21 (#2874)
    • 0e3730d3 build(deps): bump github.com/securego/gosec/v2 from 2.11.0 to 2.12.0 (#2925)
    • ac99dbcc build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.4 to 3.22.5 (#2908)
    • 8e0a6725 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.5 to 3.22.6 (#2959)
    • c8e38c4b build(deps): bump github.com/sivchari/tenv from 1.5.0 to 1.6.0 (#2927)
    • f70bf666 build(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0 (#2933)
    • 153b4072 build(deps): bump github.com/spf13/viper from 1.11.0 to 1.12.0 (#2889)
    • f03a5207 build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#2917)
    • e33e63ed build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 (#2934)
    • 44e9b34d build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5 (#2942)
    • bb5b6625 build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (#2957)
    • 2c30625c build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.6.1 to 2.6.2 (#2928)
    • 9317da6c build(deps): bump github.com/uudashr/gocognit from 1.0.5 to 1.0.6 (#2962)
    • 3071fecb build(deps): bump gitlab.com/bosi/decorder from 0.2.1 to 0.2.2 (#2943)
    • d92f144d build(deps): bump goreleaser/goreleaser-action from 2 to 3 (#2876)
    • ddee31ae build(deps): bump honnef.co/go/tools from 0.3.1 to 0.3.2 (#2870)
    • 9ebc2d52 build(deps): bump moment from 2.29.2 to 2.29.4 in /.github/contributors (#2966)

    ... (truncated)

    Changelog

    Sourced from github.com/golangci/golangci-lint's changelog.

    v1.47.2

    1. updated linters:
      • revive: ignore slow rules

    v1.47.1

    1. updated linters:
      • gci: from 0.4.2 to 0.4.3
      • gci: remove the use of stdin
      • gci: fix options display
      • tenv: from 1.6.0 to 1.7.0
      • unparam: bump to HEAD

    v1.47.0

    1. new linters:
    2. updated linters:
      • decorder: from 0.2.1 to 0.2.2
      • errcheck: from 1.6.0 to 1.6.1
      • errname: from 0.1.6 to 0.1.7
      • exhaustive: from 0.7.11 to 0.8.1
      • gci: fix issues and re-enable autofix
      • gci: from 0.3.4 to 0.4.2
      • go-exhaustruct: from 2.1.0 to 2.2.0
      • go-ruleguard: from 0.3.19 to 0.3.21
      • gocognit: from 1.0.5 to 1.0.6
      • gocyclo: from 0.5.1 to 0.6.0
      • golang.org/x/tools: bump to HEAD
      • gosec: allow global config
      • gosec: from 2.11.0 to 2.12.0
      • nonamedreturns: from 1.0.1 to 1.0.4
      • paralleltest: from 1.0.3 to 1.0.6
      • staticcheck: fix generics
      • staticcheck: from 0.3.1 to 0.3.2
      • tenv: from 1.5.0 to 1.6.0
      • testpackage: from 1.0.1 to 1.1.0
      • thelper: from 0.6.2 to 0.6.3
      • wrapcheck: from 2.6.1 to 2.6.2
    3. documentation:
      • add thanks page
      • add a clear explanation about the staticcheck integration.
      • depguard: add ignore-file-rules
      • depguard: adjust phrasing
      • gocritic: add enable and disable ruleguard settings
      • gomnd: fix typo
      • gosec: add configs for all existing rules
      • govet: add settings for shadow and unusedresult

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/golangci/golangci-lint from 1.42.1 to 1.47.0 in /tools

    chore(deps): bump github.com/golangci/golangci-lint from 1.42.1 to 1.47.0 in /tools

    Bumps github.com/golangci/golangci-lint from 1.42.1 to 1.47.0.

    Release notes

    Sourced from github.com/golangci/golangci-lint's releases.

    v1.47.0

    Changelog

    • b4154027 Add linter asasalint to lint pass []any as any (#2968)
    • 1d8a15a0 add nosnakecase lint (#2828)
    • 2a1edcef build(deps): bump github.com/Antonboom/errname from 0.1.6 to 0.1.7 (#2888)
    • c766184c build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.1.0 to 2.2.0 (#2916)
    • b8f1e2a5 build(deps): bump github.com/daixiang0/gci from 0.3.4 to 0.4.0 (#2965)
    • 5e183652 build(deps): bump github.com/daixiang0/gci from 0.4.0 to 0.4.1 (#2973)
    • e60937a1 build(deps): bump github.com/daixiang0/gci from 0.4.1 to 0.4.2 (#2979)
    • 98c811d0 build(deps): bump github.com/firefart/nonamedreturns from 1.0.1 to 1.0.2 (#2929)
    • 023e1c4f build(deps): bump github.com/firefart/nonamedreturns from 1.0.2 to 1.0.4 (#2944)
    • 7fbb11ca build(deps): bump github.com/fzipp/gocyclo from 0.5.1 to 0.6.0 (#2926)
    • db5d58cd build(deps): bump github.com/hashicorp/go-version from 1.4.0 to 1.5.0 (#2873)
    • f75b1a8b build(deps): bump github.com/hashicorp/go-version from 1.5.0 to 1.6.0 (#2958)
    • 75be924e build(deps): bump github.com/kisielk/errcheck from 1.6.0 to 1.6.1 (#2871)
    • 33f4aeeb build(deps): bump github.com/kulti/thelper from 0.6.2 to 0.6.3 (#2872)
    • 6a412d3d build(deps): bump github.com/kunwardeep/paralleltest from 1.0.3 to 1.0.4 (#2907)
    • 97eea6ea build(deps): bump github.com/kunwardeep/paralleltest from 1.0.4 to 1.0.6 (#2918)
    • 3a0f646e build(deps): bump github.com/maratori/testpackage from 1.0.1 to 1.1.0 (#2945)
    • 92d7022d build(deps): bump github.com/nishanths/exhaustive from 0.7.11 to 0.8.1 (#2906)
    • 97d7415b build(deps): bump github.com/quasilyte/go-ruleguard/dsl from 0.3.19 to 0.3.21 (#2874)
    • 0e3730d3 build(deps): bump github.com/securego/gosec/v2 from 2.11.0 to 2.12.0 (#2925)
    • ac99dbcc build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.4 to 3.22.5 (#2908)
    • 8e0a6725 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.5 to 3.22.6 (#2959)
    • c8e38c4b build(deps): bump github.com/sivchari/tenv from 1.5.0 to 1.6.0 (#2927)
    • f70bf666 build(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0 (#2933)
    • 153b4072 build(deps): bump github.com/spf13/viper from 1.11.0 to 1.12.0 (#2889)
    • f03a5207 build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#2917)
    • e33e63ed build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 (#2934)
    • 44e9b34d build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5 (#2942)
    • bb5b6625 build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (#2957)
    • 2c30625c build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.6.1 to 2.6.2 (#2928)
    • 9317da6c build(deps): bump github.com/uudashr/gocognit from 1.0.5 to 1.0.6 (#2962)
    • 3071fecb build(deps): bump gitlab.com/bosi/decorder from 0.2.1 to 0.2.2 (#2943)
    • d92f144d build(deps): bump goreleaser/goreleaser-action from 2 to 3 (#2876)
    • ddee31ae build(deps): bump honnef.co/go/tools from 0.3.1 to 0.3.2 (#2870)
    • 9ebc2d52 build(deps): bump moment from 2.29.2 to 2.29.4 in /.github/contributors (#2966)
    • f9d81511 bump golang.org/x/tools to HEAD (#2875)
    • de7cc56e chore: remove reviewers from dependabot configuration (#2932)
    • 86bd8423 chore: spelling and grammar fixes (#2865)
    • 4b218e66 config: spread go version on linter's configurations (#2913)
    • ae2a9688 depguard: adjust phrasing (#2921)
    • f2634d40 fix: codeQL scanning (#2882)
    • 2f41c1f0 gci: fix issues and re-enable autofix (#2892)
    • c531fc2a gosec: allow global config (#2880)
    • 0abb2981 staticcheck: fix generics (#2976)

    v1.46.2

    Changelog

    • a3336890 build(deps): bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (#2858)

    ... (truncated)

    Changelog

    Sourced from github.com/golangci/golangci-lint's changelog.

    v1.47.0

    1. new linters:
    2. updated linters:
      • errname: from 0.1.6 to 0.1.7
      • gci: from 0.3.4 to 0.4.2
      • nonamedreturns: from 1.0.1 to 1.0.4
      • gocyclo: from 0.5.1 to 0.6.0
      • go-exhaustruct: from 2.1.0 to 2.2.0
      • errcheck: from 1.6.0 to 1.6.1
      • thelper: from 0.6.2 to 0.6.3
      • paralleltest: from 1.0.3 to 1.0.6
      • testpackage: from 1.0.1 to 1.1.0
      • exhaustive: from 0.7.11 to 0.8.1
      • go-ruleguard: from 0.3.19 to 0.3.21
      • gosec: from 2.11.0 to 2.12.0
      • tenv: from 1.5.0 to 1.6.0
      • wrapcheck: from 2.6.1 to 2.6.2
      • gocognit: from 1.0.5 to 1.0.6
      • decorder: from 0.2.1 to 0.2.2
      • honnef.co/go/tools: from 0.3.1 to 0.3.2
      • golang.org/x/tools: bump to HEAD
      • gci: fix issues and re-enable autofix
      • gosec: allow global config
      • staticcheck: fix generics
    3. documentation:
      • add thanks page
      • add a clear explanation about the staticcheck integration.
      • depguard: add ignore-file-rules
      • depguard: adjust phrasing
      • gocritic: add enable and disable ruleguard settings
      • gomnd: fix typo
      • gosec: add configs for all existing rules
      • govet: add settings for shadow and unusedresult
      • thelper: add fuzz config and description
      • linters: add defaults

    v1.46.2

    1. updated linters:
      • execinquery: bump from v1.2.0 to v1.2.1
      • errorlint: bump to v1.0.0
      • thelper: allow to disable one option
    2. documentation:
      • rename .golangci.example.yml to .golangci.reference.yml
      • add containedctx linter to the list of available linters

    v1.46.1

    ... (truncated)

    Commits
    • b415402 Add linter asasalint to lint pass []any as any (#2968)
    • e60937a build(deps): bump github.com/daixiang0/gci from 0.4.1 to 0.4.2 (#2979)
    • 27f921f dev: use directives instead of comments for tests (#2978)
    • 0abb298 staticcheck: fix generics (#2976)
    • d6a39ef dev: remove kortschak from generated team (#2974)
    • 5e18365 build(deps): bump github.com/daixiang0/gci from 0.4.0 to 0.4.1 (#2973)
    • ed4befe dev: change err to nil (#2971)
    • 9ebc2d5 build(deps): bump moment from 2.29.2 to 2.29.4 in /.github/contributors (#2966)
    • b050b42 build(deps): bump moment from 2.29.2 to 2.29.4 in /docs (#2967)
    • b8f1e2a build(deps): bump github.com/daixiang0/gci from 0.3.4 to 0.4.0 (#2965)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/stretchr/testify from 1.7.0 to 1.8.0

    chore(deps): bump github.com/stretchr/testify from 1.7.0 to 1.8.0

    Bumps github.com/stretchr/testify from 1.7.0 to 1.8.0.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.5

    chore(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.5

    Bumps github.com/stretchr/testify from 1.7.0 to 1.7.5.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.3

    chore(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.3

    Bumps github.com/stretchr/testify from 1.7.0 to 1.7.3.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.2

    chore(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.2

    Bumps github.com/stretchr/testify from 1.7.0 to 1.7.2.

    Commits
    • 41453c0 Update gopkg.in/yaml.v3
    • 285adcc Update go versions in build matrix
    • 6e7fab4 Bump actions/setup-go from 2 to 3.1.0
    • 106ec21 use RWMutex
    • a409ccf fix data race in the suit
    • 3586478 assert: fix typo
    • 7797738 Update versions supported to include go 1.16
    • 083ff1c Fixed didPanic to now detect panic(nil).
    • 1e36bfe Use cross Go version compatible build tag syntax
    • e798dc2 Add docs on 1.17 build tags
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/golangci/golangci-lint from 1.42.1 to 1.46.2 in /tools

    chore(deps): bump github.com/golangci/golangci-lint from 1.42.1 to 1.46.2 in /tools

    Bumps github.com/golangci/golangci-lint from 1.42.1 to 1.46.2.

    Release notes

    Sourced from github.com/golangci/golangci-lint's releases.

    v1.46.2

    Changelog

    • a3336890 build(deps): bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (#2858)
    • e889b405 bump github.com/lufeee/execinquery from v1.2.0 to v1.2.1 (#2853)
    • d8bf2434 bump github.com/polyfloyd/go-errorlint to v1.0.0 (#2855)
    • b504325d thelper: allow to disable one option (#2854)

    v1.46.1

    Changelog

    • 044f0a17 bump github.com/lufeee/execinquery from v1.0.0 to v1.2.0 (#2845)

    v1.46.0

    Changelog

    • b8c061e5 Add execinquery linter (#2677)
    • 333187c0 Add nonamedreturns linter (#2701)
    • 89e6cd66 Add nosprintfhostport linter (#2749)
    • ff93f271 build(deps): bump actions/setup-go from 2 to 3 (#2763)
    • 68f5ceab build(deps): bump github.com/Antonboom/errname from 0.1.5 to 0.1.6 (#2758)
    • b8f973e5 build(deps): bump github.com/Antonboom/nilnil from 0.1.0 to 0.1.1 (#2757)
    • d335b96f build(deps): bump github.com/BurntSushi/toml from 1.0.0 to 1.1.0 (#2755)
    • 4aa082a3 build(deps): bump github.com/breml/bidichk from 0.2.2 to 0.2.3 (#2698)
    • 97adeb3d build(deps): bump github.com/breml/errchkjson from 0.2.3 to 0.3.0 (#2695)
    • a8723d66 build(deps): bump github.com/fzipp/gocyclo from 0.4.0 to 0.5.0 (#2693)
    • e87bd577 build(deps): bump github.com/fzipp/gocyclo from 0.5.0 to 0.5.1 (#2756)
    • f7a66d01 build(deps): bump github.com/go-critic/go-critic from 0.6.2 to 0.6.3 (#2759)
    • 29820052 build(deps): bump github.com/ldez/gomoddirectives from 0.2.2 to 0.2.3 (#2793)
    • 00b1b711 build(deps): bump github.com/mgechev/revive from 1.1.4 to 1.2.0 (#2741)
    • f3684052 build(deps): bump github.com/mgechev/revive from 1.2.0 to 1.2.1 (#2760)
    • 8edcc41b build(deps): bump github.com/nishanths/predeclared from 0.2.1 to 0.2.2 (#2761)
    • 1b1c7206 build(deps): bump github.com/quasilyte/go-ruleguard/dsl (#2691)
    • f3c9bd15 build(deps): bump github.com/securego/gosec/v2 from 2.10.0 to 2.11.0 (#2697)
    • 7d24a49c build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.2 to 3.22.3 (#2740)
    • 8537612d build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.3 to 3.22.4 (#2792)
    • 80c4a76d build(deps): bump github.com/sivchari/tenv from 1.4.7 to 1.5.0 (#2739)
    • 62ab4108 build(deps): bump github.com/spf13/viper from 1.10.1 to 1.11.0 (#2770)
    • 7bed0859 build(deps): bump github.com/stbenjam/no-sprintf-host-port (#2781)
    • b0ff233b build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.5.0 to 2.6.0 (#2696)
    • b7e13d6d build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.6.0 to 2.6.1 (#2791)
    • acceecf6 build(deps): bump github/codeql-action from 1 to 2 (#2782)
    • e4945f75 build(deps): bump honnef.co/go/tools from 0.2.2 to 0.3.0 (#2738)
    • 5c77c1b9 build(deps): bump honnef.co/go/tools from 0.3.0 to 0.3.1 (#2780)
    • 4472864d build(deps): bump minimist from 1.2.5 to 1.2.6 in /.github/contributors (#2685)
    • 10cc667b build(deps): bump minimist from 1.2.5 to 1.2.6 in /tools (#2686)
    • 7c94fe39 build(deps): bump moment from 2.25.3 to 2.29.2 in /.github/contributors (#2753)
    • 74ffd77c build(deps): bump mvdan.cc/gofumpt from 0.3.0 to 0.3.1 (#2694)
    • 293b83d8 build(deps): bump peter-evans/create-pull-request from 3 to 4 (#2699)
    • bb2fb452 bump deadcode to HEAD (#2704)
    • 7086a944 bump github.com/kulti/thelper from 0.5.1 to 0.6.2 (#2742)

    ... (truncated)

    Changelog

    Sourced from github.com/golangci/golangci-lint's changelog.

    v1.46.2

    1. updated linters:
      • execinquery: bump from v1.2.0 to v1.2.1
      • errorlint: bump to v1.0.0
      • thelper: allow to disable one option
    2. documentation:
      • rename .golangci.example.yml to .golangci.reference.yml
      • add containedctx linter to the list of available linters

    v1.46.1

    1. updated linters:
      • execinquery: bump from v0.6.0 to v0.6.1
    2. documentation:
      • add missing linters

    v1.46.0

    1. new linters:
    2. updated linters:
      • bidichk: from 0.2.2 to 0.2.3
      • deadcode: bump to HEAD
      • errchkjson: from 0.2.3 to 0.3.0
      • errname: from 0.1.5 to 0.1.6
      • go-critic: from 0.6.2 to 0.6.3
      • gocyclo: from 0.4.0 to 0.5.1
      • gofumpt from 0.3.0 to 0.3.1
      • gomoddirectives: from 0.2.2 to 0.2.3
      • gosec: from 2.10.0 to 2.11.0
      • honnef.co/go/tools: from 0.2.2to 0.3.1 (go1.18 support)
      • nilnil: from 0.1.0 to 0.1.1
      • nonamedreturns: bump from 1.0.0 to 1.0.1
      • predeclared: from 0.2.1 to 0.2.2
      • promlinter: bump to v0.2.0
      • revive: from 1.1.4 to 1.2.1
      • tenv: from 1.4.7 to 1.5.0
      • thelper: from 0.5.1 to 0.6.2
      • unused: fix false-positive
      • varnamelen: bump to v0.8.0
      • wrapcheck: from 2.5.0 to 2.6.1
      • exhaustivestruct: This linter is deprecated use exhaustruct instead.
    3. documentation:
      • Update "Shell Completion" instruction on Linux
      • Update FAQ page
    4. misc:

    ... (truncated)

    Commits
    • a333689 build(deps): bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (#2858)
    • b504325 thelper: allow to disable one option (#2854)
    • d8bf243 bump github.com/polyfloyd/go-errorlint to v1.0.0 (#2855)
    • 4deb32f docs: rename .golangci.example.yml to .golangci.reference.yml (#2857)
    • e889b40 bump github.com/lufeee/execinquery from v1.2.0 to v1.2.1 (#2853)
    • 9684688 docs: add containedctx linter to the list of available linters (#2850)
    • 86321a5 docs: Update documentation and assets (#2846)
    • 044f0a1 bump github.com/lufeee/execinquery from v1.0.0 to v1.2.0 (#2845)
    • 59971a1 fix: fix typo for errchkjson (#2842)
    • 5a28742 docs: add missing linters (#2841)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/stretchr/testify from 1.7.0 to 1.8.1

    chore(deps): bump github.com/stretchr/testify from 1.7.0 to 1.8.1

    Bumps github.com/stretchr/testify from 1.7.0 to 1.8.1.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump github.com/golangci/golangci-lint from 1.42.1 to 1.50.1 in /tools

    chore(deps): bump github.com/golangci/golangci-lint from 1.42.1 to 1.50.1 in /tools

    Bumps github.com/golangci/golangci-lint from 1.42.1 to 1.50.1.

    Release notes

    Sourced from github.com/golangci/golangci-lint's releases.

    v1.50.1

    Changelog

    • bd7edf31 build(deps): bump github.com/BurntSushi/toml from 1.2.0 to 1.2.1 (#3310)
    • 8926a95f build(deps): bump github.com/daixiang0/gci from 0.8.0 to 0.8.1 (#3309)
    • 98df0492 build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.2 to 1.1.3 (#3296)
    • a760cb12 build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 (#3298)
    • 2823ec62 build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.6.2 to 2.7.0 (#3287)
    • 0793063c build(deps): bump github.com/tommy-muehle/go-mnd/v2 from 2.5.0 to 2.5.1 (#3295)
    • 046dce3a build(deps): bump golang.org/x/tools from 0.1.12 to 0.2.0 (#3312)
    • 2fa3b6f8 chore: update go.mod for gen_github_action_config script (#3300)
    • 6740559b code-climate: add default severity (#3294)
    • d03294f2 fix: remove redundant character escape '/' (#3278)
    • 8a1cf904 lll: skip imports (#3288)
    • 5ef7b413 revive: fix configuration parsing (#3284)

    v1.50.0

    Changelog

    • 890a8265 Normalize exclude-rules paths for Windows (#2387)
    • db4955a3 build(deps): bump github.com/OpenPeeDeeP/depguard from 1.1.0 to 1.1.1 (#3186)
    • 937e3d40 build(deps): bump github.com/curioswitch/go-reassign v0.1.2 to v0.2.0 (#3234)
    • 40082da3 build(deps): bump github.com/daixiang0/gci from 0.6.3 to 0.7.0 (#3190)
    • c78bc230 build(deps): bump github.com/daixiang0/gci from 0.7.0 to 0.8.0 (#3241)
    • 28d70954 build(deps): bump github.com/go-critic/go-critic from 0.6.4 to 0.6.5 (#3150)
    • ff61ea9f build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.0 to 1.1.1 (#3208)
    • 0a581b3c build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.1 to 1.1.2 (#3243)
    • 0a94c369 build(deps): bump github.com/mgechev/revive from 1.2.3 to 1.2.4 (#3257)
    • 33a78c92 build(deps): bump github.com/nishanths/exhaustive from 0.8.1 to 0.8.3 (#3207)
    • d5dc2a19 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.2 to 1.0.3 (#3209)
    • ac95c85f build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.3 to 1.0.4 (#3226)
    • b5203c38 build(deps): bump github.com/polyfloyd/go-errorlint from 1.0.4 to 1.0.5 (#3254)
    • 4189d1cc build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.13.0 to 1.14.0 (#3147)
    • 70d595e9 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.14.0 to 1.17.1 (#3188)
    • 1f155b7e build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.17.1 to 1.19.0 (#3206)
    • d1dc9ae4 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.19.0 to 1.19.1 (#3242)
    • e3aa30f3 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.19.1 to 1.20.0 (#3255)
    • 24f86dfd build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.7 to 3.22.8 (#3187)
    • 704109c6 build(deps): bump github.com/shirou/gopsutil/v3 from 3.22.8 to 3.22.9 (#3267)
    • 794f00c0 build(deps): bump github.com/spf13/viper from 1.12.0 to 1.13.0 (#3205)
    • 942e7e51 build(deps): bump github.com/sylvia7788/contextcheck from 1.0.6 to 1.0.8 (#3148)
    • ed47d7bf build(deps): bump github.com/sylvia7788/contextcheck from 1.0.8 to 1.0.9 (#3189)
    • 2019f766 build(deps): bump mvdan.cc/gofumpt from 0.3.1 to 0.4.0 (#3256)
    • 0d33a5ba cli: remove reference to old service (#3173)
    • 213fb565 contextcheck: change owner (#3198)
    • 8a3b754c exhaustive: add missing config (#3212)
    • febe5fdb feat: add linter dupword (#3192)
    • 281e1847 feat: add testableexamples linter (#3170)
    • 3a2ad908 feat: rename logrlint to loggercheck (#3144)
    • aba80c7f feat: update gofmt and goimports and add option "rewrite-rules" (#3174)
    • 091d2f43 interfacebloat: fix configuration loading (#3194)
    • 05c3af1a paralleltest: add tests of the ignore-missing option (#3233)

    ... (truncated)

    Changelog

    Sourced from github.com/golangci/golangci-lint's changelog.

    v1.50.1

    1. updated linters
      • contextcheck: from 1.1.2 to 1.1.3
      • go-mnd: from 2.5.0 to 2.5.1
      • wrapcheck: from 2.6.2 to 2.7.0
      • revive: fix configuration parsing
      • lll: skip imports
    2. misc.
      • windows: remove redundant character escape '/'
      • code-climate: add default severity

    v1.50.0

    1. new linters
    2. updated linters
      • contextcheck: change owner
      • contextcheck: from 1.0.6 to 1.1.2
      • depguard: from 1.1.0 to 1.1.1
      • exhaustive: add missing config
      • exhaustive: from 0.8.1 to 0.8.3
      • gci: from 0.6.3 to 0.8.0
      • go-critic: from 0.6.4 to 0.6.5
      • go-errorlint: from 1.0.2 to 1.0.5
      • go-reassign: v0.1.2 to v0.2.0
      • gofmt: add option rewrite-rules
      • gofumpt from 0.3.1 to 0.4.0
      • goimports: update to HEAD
      • interfacebloat: fix configuration loading
      • logrlint: rename logrlint to loggercheck
      • paralleltest: add tests of the ignore-missing option
      • revive: from 1.2.3 to 1.2.4
      • usestdlibvars: from 1.13.0 to 1.20.0
      • wsl: support all configs and update docs
    3. misc.
      • Normalize exclude-rules paths for Windows
      • add riscv64 to the install script
    4. Documentation
      • cli: remove reference to old service

    v1.49.0

    IMPORTANT: varcheck and deadcode has been removed of default linters.

    1. new linters

    ... (truncated)

    Commits
    • 8926a95 build(deps): bump github.com/daixiang0/gci from 0.8.0 to 0.8.1 (#3309)
    • 046dce3 build(deps): bump golang.org/x/tools from 0.1.12 to 0.2.0 (#3312)
    • bd7edf3 build(deps): bump github.com/BurntSushi/toml from 1.2.0 to 1.2.1 (#3310)
    • 6740559 code-climate: add default severity (#3294)
    • c1e24c1 doc: improved wording (#3302)
    • 9a592fb build(deps): bump parse-url and gatsby-telemetry in /docs (#3306)
    • 98df049 build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.2 to 1.1.3 (#3296)
    • 0793063 build(deps): bump github.com/tommy-muehle/go-mnd/v2 from 2.5.0 to 2.5.1 (#3295)
    • 2fa3b6f chore: update go.mod for gen_github_action_config script (#3300)
    • a760cb1 build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 (#3298)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump actions/checkout from 2 to 3.1.0

    chore(deps): bump actions/checkout from 2 to 3.1.0

    Bumps actions/checkout from 2 to 3.1.0.

    Release notes

    Sourced from actions/checkout's releases.

    v3.1.0

    What's Changed

    New Contributors

    Full Changelog: https://github.com/actions/checkout/compare/v3.0.2...v3.1.0

    v3.0.2

    What's Changed

    Full Changelog: https://github.com/actions/checkout/compare/v3...v3.0.2

    v3.0.1

    v3.0.0

    • Updated to the node16 runtime by default
      • This requires a minimum Actions Runner version of v2.285.0 to run, which is by default available in GHES 3.4 or later.

    v2.4.2

    What's Changed

    Full Changelog: https://github.com/actions/checkout/compare/v2...v2.4.2

    v2.4.1

    • Fixed an issue where checkout failed to run in container jobs due to the new git setting safe.directory

    v2.4.0

    • Convert SSH URLs like org-<ORG_ID>@github.com: to https://github.com/ - pr

    v2.3.5

    Update dependencies

    v2.3.4

    v2.3.3

    ... (truncated)

    Changelog

    Sourced from actions/checkout's changelog.

    v3.1.0

    v3.0.2

    v3.0.1

    v3.0.0

    v2.3.1

    v2.3.0

    v2.2.0

    v2.1.1

    • Changes to support GHES (here and here)

    v2.1.0

    v2.0.0

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • chore(deps): bump actions/setup-go from 2 to 3

    chore(deps): bump actions/setup-go from 2 to 3

    Bumps actions/setup-go from 2 to 3.

    Release notes

    Sourced from actions/setup-go's releases.

    v3.0.0

    What's Changed

    Breaking Changes

    With the update to Node 16, all scripts will now be run with Node 16 rather than Node 12.

    This new major release removes the stable input, so there is no need to specify additional input to use pre-release versions. This release also corrects the pre-release versions syntax to satisfy the SemVer notation (1.18.0-beta1 -> 1.18.0-beta.1, 1.18.0-rc1 -> 1.18.0-rc.1).

    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-go@v3
        with:
          go-version: '1.18.0-rc.1' 
      - run: go version
    

    Add check-latest input

    In scope of this release we add the check-latest input. If check-latest is set to true, the action first checks if the cached version is the latest one. If the locally cached version is not the most up-to-date, a Go version will then be downloaded from go-versions repository. By default check-latest is set to false. Example of usage:

    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-go@v2
        with:
          go-version: '1.16'
          check-latest: true
      - run: go version
    

    Moreover, we updated @actions/core from 1.2.6 to 1.6.0

    v2.1.5

    In scope of this release we updated matchers.json to improve the problem matcher pattern. For more information please refer to this pull request

    v2.1.4

    What's Changed

    New Contributors

    Full Changelog: https://github.com/actions/setup-go/compare/v2.1.3...v2.1.4

    v2.1.3

    • Updated communication with runner to use environment files rather then workflow commands

    v2.1.2

    This release includes vendored licenses for this action's npm dependencies.

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
A yaml data-driven testing format together with golang testing library

Specimen Yaml-based data-driven testing Specimen is a yaml data format for data-driven testing. This enforces separation between feature being tested

Nov 24, 2022
Extremely flexible golang deep comparison, extends the go testing package and tests HTTP APIs
Extremely flexible golang deep comparison, extends the go testing package and tests HTTP APIs

go-testdeep Extremely flexible golang deep comparison, extends the go testing package. Latest news Synopsis Description Installation Functions Availab

Dec 22, 2022
A test-friendly replacement for golang's time package

timex timex is a test-friendly replacement for the time package. Usage Just replace your time.Now() by a timex.Now() call, etc. Mocking Use timex.Over

Dec 21, 2022
A library for generating fake data such as names, addresses, and phone numbers.

faker Faker is a library for generating fake data such as names, addresses, and phone numbers. It is a (mostly) API-compatible port of Ruby Faker gem

Jan 4, 2023
Random fake data generator written in go
Random fake data generator written in go

Gofakeit Random data generator written in go Features 160+ Functions!!! Concurrent Global Rand Struct Generator Custom Functions Http Server Command L

Dec 28, 2022
This is a simple test application that sends fake video data from one pion instance to another

Pion test app for BWE This is a simple test application that sends fake video data from one pion instance to another. It is a modified version of the

Jun 8, 2022
A simple tool to fill random data into a file to overwrite the free space on a disk

random-fill random-fill is a simple tool to fill random data into a file to over

Oct 2, 2022
A go server which will respond with data to mock a server!

Mocker A go program which will respond with data to mock a server; mainly useful while developing a frontend application, whose backend is not running

Jan 5, 2023
A collection of packages to augment the go testing package and support common patterns.

gotest.tools A collection of packages to augment testing and support common patterns. Usage With Go modules enabled (go1.11+) $ go get gotest.tools/v3

Jan 4, 2023
Package for comparing Go values in tests

Package for equality of Go values This package is intended to be a more powerful and safer alternative to reflect.DeepEqual for comparing whether two

Dec 29, 2022
Package cdp provides type-safe bindings for the Chrome DevTools Protocol (CDP), written in the Go programming language.

cdp Package cdp provides type-safe bindings for the Chrome DevTools Protocol (CDP), written in the Go programming language. The bindings are generated

Jan 7, 2023
🏳️ Go package that provides function like assert of Python or C++.

gassert gassert is Go package that provides function like assert of Python or C++. With gassert, you can check validation of parameters or values more

Aug 5, 2022
Random is a package written in Go that implements pseudo-random number generators for various distributions.

Random This package implements pseudo-random number generators for various distributions. For integers, there is a function for random selection from

Jul 11, 2022
A mock of Go's net package for unit/integration testing

netmock: Simulate Go network connections netmock is a Go package for simulating net connections, including delays and disconnects. This is work in pro

Oct 27, 2021
Test coverage in Go, the whole package

Test coverage in Go, the whole package

Jan 20, 2022
Package has tool to generate workload for vegeta based kube-api stress tests.

Package has tool to generate workload for vegeta based kube-api stress tests.

Nov 22, 2021
Go buildinfo package Example

Go buildinfo package Example Usage Build the binary: $ go build . Get the build info for the resulting binary: $ ./buildinfo -binary buildinfo Outpu

Oct 11, 2022
Fortio load testing library, command line tool, advanced echo server and web UI in go (golang). Allows to specify a set query-per-second load and record latency histograms and other useful stats.
Fortio load testing library, command line tool, advanced echo server and web UI in go (golang). Allows to specify a set query-per-second load and record latency histograms and other useful stats.

Fortio Fortio (Φορτίο) started as, and is, Istio's load testing tool and now graduated to be its own project. Fortio is also used by, among others, Me

Jan 2, 2023
HTTP mock for Golang: record and replay HTTP/HTTPS interactions for offline testing

govcr A Word Of Warning I'm in the process of partly rewriting govcr to offer better support for cassette mutations. This is necessary because when I

Dec 28, 2022