From 888370b392fa7f055b36be1c64f9e37ae3496b20 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 26 Feb 2025 20:45:37 +0000 Subject: [PATCH] chore(deps): Bump github.com/obalunenko/getenv from 1.14.0 to 1.14.1 Bumps [github.com/obalunenko/getenv](https://github.com/obalunenko/getenv) from 1.14.0 to 1.14.1. - [Release notes](https://github.com/obalunenko/getenv/releases) - [Changelog](https://github.com/obalunenko/getenv/blob/master/.goreleaser.yml) - [Commits](https://github.com/obalunenko/getenv/compare/v1.14.0...v1.14.1) --- updated-dependencies: - dependency-name: github.com/obalunenko/getenv dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 6 +- go.sum | 12 +- .../obalunenko/getenv/.golangci.pipe.yml | 18 +- .../obalunenko/getenv/.golangci.yml | 306 +++++++++++++----- .../obalunenko/getenv/.goreleaser.yml | 34 +- vendor/github.com/obalunenko/getenv/Makefile | 2 +- vendor/github.com/obalunenko/getenv/getenv.go | 7 +- .../obalunenko/getenv/internal/parsers.go | 28 +- .../obalunenko/getenv/linters-report.xml | 3 + vendor/golang.org/x/exp/LICENSE | 4 +- .../x/exp/constraints/constraints.go | 2 + vendor/golang.org/x/sync/LICENSE | 4 +- vendor/golang.org/x/sync/errgroup/errgroup.go | 1 + vendor/modules.txt | 10 +- 14 files changed, 332 insertions(+), 105 deletions(-) create mode 100644 vendor/github.com/obalunenko/getenv/linters-report.xml diff --git a/go.mod b/go.mod index c9e9a3c..48e0458 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/go-openapi/strfmt v0.23.0 github.com/go-openapi/swag v0.23.0 github.com/go-openapi/validate v0.24.0 - github.com/obalunenko/getenv v1.14.0 + github.com/obalunenko/getenv v1.14.1 github.com/stretchr/testify v1.10.0 ) @@ -35,7 +35,7 @@ require ( go.opentelemetry.io/otel v1.24.0 // indirect go.opentelemetry.io/otel/metric v1.24.0 // indirect go.opentelemetry.io/otel/trace v1.24.0 // indirect - golang.org/x/exp v0.0.0-20240213143201-ec583247a57a // indirect - golang.org/x/sync v0.6.0 // indirect + golang.org/x/exp v0.0.0-20250218142911-aa4b98e5adaa // indirect + golang.org/x/sync v0.11.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index c8de6bd..3208220 100644 --- a/go.sum +++ b/go.sum @@ -42,8 +42,8 @@ github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0 github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/obalunenko/getenv v1.14.0 h1:Q8ClxnNMr5a6N0xNg7nHbdhZI4UUfhZMCjabGruq4gA= -github.com/obalunenko/getenv v1.14.0/go.mod h1:PsuPvyLaE71FF7ikdCvPGqILTAWuXq7/+dtlOhab5K4= +github.com/obalunenko/getenv v1.14.1 h1:nFwG6PMKWKNBWnvlCbIOLgYdj/sSerbLZ9k3Is26HOU= +github.com/obalunenko/getenv v1.14.1/go.mod h1:O+JIpb//raW/4Mx6sno6lHckuFn7zbagod0KkyDHUX0= github.com/oklog/ulid v1.3.1 h1:EGfNDEx6MqHz8B3uNV6QAib1UR2Lm97sHi3ocA6ESJ4= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+1B0VhjKrZUs= @@ -66,10 +66,10 @@ go.opentelemetry.io/otel/sdk v1.24.0 h1:YMPPDNymmQN3ZgczicBY3B6sf9n62Dlj9pWD3ucg go.opentelemetry.io/otel/sdk v1.24.0/go.mod h1:KVrIYw6tEubO9E96HQpcmpTKDVn9gdv35HoYiQWGDFg= go.opentelemetry.io/otel/trace v1.24.0 h1:CsKnnL4dUAr/0llH9FKuc698G04IrpWV0MQA/Y1YELI= go.opentelemetry.io/otel/trace v1.24.0/go.mod h1:HPc3Xr/cOApsBI154IU0OI0HJexz+aw5uPdbs3UCjNU= -golang.org/x/exp v0.0.0-20240213143201-ec583247a57a h1:HinSgX1tJRX3KsL//Gxynpw5CTOAIPhgL4W8PNiIpVE= -golang.org/x/exp v0.0.0-20240213143201-ec583247a57a/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc= -golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= -golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/exp v0.0.0-20250218142911-aa4b98e5adaa h1:t2QcU6V556bFjYgu4L6C+6VrCPyJZ+eyRsABUPs1mz4= +golang.org/x/exp v0.0.0-20250218142911-aa4b98e5adaa/go.mod h1:BHOTPb3L19zxehTsLoJXVaTktb06DFgmdW6Wb9s8jqk= +golang.org/x/sync v0.11.0 h1:GGz8+XQP4FvTTrjZPzNKTMFtSXH80RAzG+5ghFPgK9w= +golang.org/x/sync v0.11.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/vendor/github.com/obalunenko/getenv/.golangci.pipe.yml b/vendor/github.com/obalunenko/getenv/.golangci.pipe.yml index e115771..1ebe5b2 100644 --- a/vendor/github.com/obalunenko/getenv/.golangci.pipe.yml +++ b/vendor/github.com/obalunenko/getenv/.golangci.pipe.yml @@ -1,10 +1,13 @@ linters: disable-all: true enable: + - govet - errcheck - gofmt - revive - goimports + - unused + - gosimple linters-settings: errcheck: @@ -28,6 +31,8 @@ linters-settings: arguments: [ [ "call-chain", "loop", "method-call", "recover", "return" ] ] issues: + # make issues output unique by line, default is true + uniq-by-line: true exclude-use-default: false exclude: # for "public interface + private struct implementation" cases only! @@ -97,16 +102,20 @@ issues: run: issues-exit-code: 1 tests: true - skip-dirs: + exclude-dirs: - vendor/ - skip-files: + exclude-files: - \.pb\.go$ # output configuration options output: # colored-line-number|line-number|json|tab|checkstyle|code-climate|junit-xml|github-actions # default is "colored-line-number" - format: github-actions + formats: + - format: colored-line-number + path: stderr + - format: checkstyle + path: linters-report.xml # print lines of code with issue, default is true print-issued-lines: true @@ -114,9 +123,6 @@ output: # print linter name in the end of issue text, default is true print-linter-name: true - # make issues output unique by line, default is true - uniq-by-line: true - # add a prefix to the output file references; default is no prefix path-prefix: "" diff --git a/vendor/github.com/obalunenko/getenv/.golangci.yml b/vendor/github.com/obalunenko/getenv/.golangci.yml index ec1d057..a6c4f99 100644 --- a/vendor/github.com/obalunenko/getenv/.golangci.yml +++ b/vendor/github.com/obalunenko/getenv/.golangci.yml @@ -1,11 +1,41 @@ linters-settings: + depguard: + # new configuration + rules: + logger: + deny: + - pkg: "github.com/sirupsen/logrus" + desc: logging is allowed only by github.com/obalunenko/logger dupl: threshold: 100 funlen: lines: 100 statements: 50 gci: - local-prefixes: github.com/obalunenko/getenv + # Section configuration to compare against. + # Section names are case-insensitive and may contain parameters in (). + # The default order of sections is `standard > default > custom > blank > dot > alias > localmodule`, + # If `custom-order` is `true`, it follows the order of `sections` option. + # Default: ["standard", "default"] + sections: + - standard # Standard section: captures all standard packages. + - default # Default section: contains all imports that could not be matched to another section type. + - prefix(github.com/obalunenko) # Custom section: groups all imports with the specified Prefix. + - localmodule # Local module section: contains all local packages. This section is not present unless explicitly enabled. + + # Skip generated files. + # Default: true + skip-generated: true + + # Enable custom order of sections. + # If `true`, make the section order the same as the order of `sections`. + # Default: false + custom-order: true + + # Drops lexical ordering for custom sections. + # Default: false + no-lex-order: true + goconst: min-len: 2 min-occurrences: 2 @@ -22,18 +52,132 @@ linters-settings: - hugeParam - octalLiteral - wrapperFunc - - sloppyReassign gocyclo: min-complexity: 15 goimports: local-prefixes: github.com/obalunenko/getenv - gomnd: - settings: - mnd: - # don't include the "operation" and "assign" - checks: [ argument,case,condition,return ] + mnd: + # List of enabled checks, see https://github.com/tommy-muehle/go-mnd/#checks for description. + # Default: ["argument", "case", "condition", "operation", "return", "assign"] + checks: + - argument + - case + - condition + - operation + - return + - assign + # List of numbers to exclude from analysis. + # The numbers should be written as string. + # Values always ignored: "1", "1.0", "0" and "0.0" + # Default: [] + ignored-numbers: [] + # List of file patterns to exclude from analysis. + # Values always ignored: `.+_test.go` + # Default: [] + ignored-files: [] + # List of function patterns to exclude from analysis. + # Following functions are always ignored: `time.Date`, + # `strconv.FormatInt`, `strconv.FormatUint`, `strconv.FormatFloat`, + # `strconv.ParseInt`, `strconv.ParseUint`, `strconv.ParseFloat`. + # Default: [] + ignored-functions: [] + govet: - check-shadowing: true + # Disable all analyzers. + # Default: false + disable-all: false + # Enable analyzers by name. + # (in addition to default: + # appends, asmdecl, assign, atomic, bools, buildtag, cgocall, composites, copylocks, defers, directive, errorsas, + # framepointer, httpresponse, ifaceassert, loopclosure, lostcancel, nilfunc, printf, shift, sigchanyzer, slog, + # stdmethods, stringintconv, structtag, testinggoroutine, tests, timeformat, unmarshal, unreachable, unsafeptr, + # unusedresult + # ). + # Run `GL_DEBUG=govet golangci-lint run --enable=govet` to see default, all available analyzers, and enabled analyzers. + # Default: [] + disable: + - fieldalignment + enable: + # Check for missing values after append. + - appends + # Report mismatches between assembly files and Go declarations. + - asmdecl + # Check for useless assignments. + - assign + # Check for common mistakes using the sync/atomic package. + - atomic + # Check for non-64-bits-aligned arguments to sync/atomic functions. + - atomicalign + # Check for common mistakes involving boolean operators. + - bools + # Check //go:build and // +build directives. + - buildtag + # Detect some violations of the cgo pointer passing rules. + - cgocall + # Check for unkeyed composite literals. + - composites + # Check for locks erroneously passed by value. + - copylocks + # Check for calls of reflect.DeepEqual on error values. + - deepequalerrors + # Report common mistakes in defer statements. + - defers + # Check Go toolchain directives such as //go:debug. + - directive + # Report passing non-pointer or non-error values to errors.As. + - errorsas + # Find calls to a particular function. + - findcall + # Report assembly that clobbers the frame pointer before saving it. + - framepointer + # Check for mistakes using HTTP responses. + - httpresponse + # Detect impossible interface-to-interface type assertions. + - ifaceassert + # Check references to loop variables from within nested functions. + - loopclosure + # Check cancel func returned by context.WithCancel is called. + - lostcancel + # Check for useless comparisons between functions and nil. + - nilfunc + # Check for redundant or impossible nil comparisons. + - nilness + # Check consistency of Printf format strings and arguments. + - printf + # Check for comparing reflect.Value values with == or reflect.DeepEqual. + - reflectvaluecompare + # Check for possible unintended shadowing of variables. + - shadow + # Check for shifts that equal or exceed the width of the integer. + - shift + # Check for unbuffered channel of os.Signal. + - sigchanyzer + # Check for invalid structured logging calls. + - slog + # Check the argument type of sort.Slice. + - sortslice + # Check signature of methods of well-known interfaces. + - stdmethods + # Check for string(int) conversions. + - stringintconv + # Check that struct field tags conform to reflect.StructTag.Get. + - structtag + # Report calls to (*testing.T).Fatal from goroutines started by a test. + - testinggoroutine + # Check for common mistaken usages of tests and examples. + - tests + # Check for calls of (time.Time).Format or time.Parse with 2006-02-01. + - timeformat + # Report passing non-pointer or non-interface values to unmarshal. + - unmarshal + # Check for unreachable code. + - unreachable + # Check for invalid conversions of uintptr to unsafe.Pointer. + - unsafeptr + # Check for unused results of calls to some functions. + - unusedresult + # Checks for unused writes. + - unusedwrite lll: line-length: 140 misspell: @@ -48,11 +192,11 @@ linters: disable-all: true enable: - bodyclose + - depguard - dogsled - dupl - errcheck - - exportloopref - - exhaustive + - copyloopvar - funlen - gochecknoinits - goconst @@ -60,7 +204,7 @@ linters: - gocyclo - gofmt - goimports - - gomnd + - mnd - goprintffuncname - gosec - gosimple @@ -97,6 +241,21 @@ linters: # - testpackage issues: + # make issues output unique by line, default is true + uniq-by-line: true + # Show only new issues: if there are unstaged changes or untracked files, + # only those changes are analyzed, else only changes in HEAD~ are analyzed. + # It's a super-useful option for integration of golangci-lint into existing + # large codebase. It's not practical to fix all existing issues at the moment + # of integration: much better don't allow issues in new code. + # Default is false. + new: false + # Fix found issues (if it's supported by the linter) + fix: false + exclude-files: + - \.pb\.go$ + exclude-dirs: + - vendor/ exclude-use-default: false exclude: # for "public interface + private struct implementation" cases only! @@ -111,74 +270,78 @@ issues: - funlen - dupl - gosec - - path: internal/input/ - linters: - - gocyclo - - funlen - - godot - - godox - - dupl - - gofmt - - gci - - gofumpt - - goimports - - gosimple - - path: internal/puzzles/constants.go - linters: - - revive - - path: internal/puzzles/solutions/ - linters: - - gochecknoinits - - # Show only new issues: if there are unstaged changes or untracked files, - # only those changes are analyzed, else only changes in HEAD~ are analyzed. - # It's a super-useful option for integration of golangci-lint into existing - # large codebase. It's not practical to fix all existing issues at the moment - # of integration: much better don't allow issues in new code. - # Default is false. - new: true - - # Fix found issues (if it's supported by the linter) - fix: false - - severity: - # Default value is empty string. - # Set the default severity for issues. If severity rules are defined and the issues - # do not match or no severity is provided to the rule this will be the default - # severity applied. Severities should match the supported severity names of the - # selected out format. - # - Code climate: https://docs.codeclimate.com/docs/issues#issue-severity - # - Checkstyle: https://checkstyle.sourceforge.io/property_types.html#severity - # - GitHub: https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message - default-severity: error - - # The default value is false. - # If set to true severity-rules regular expressions become case sensitive. - case-sensitive: false - - # Default value is empty list. - # When a list of severity rules are provided, severity information will be added to lint - # issues. Severity rules have the same filtering capability as exclude rules except you - # are allowed to specify one matcher per severity rule. - # Only affects out formats that support setting severity information. - rules: - - linters: - - dupl - severity: warning run: issues-exit-code: 0 tests: true - skip-dirs: - - vendor/ - skip-files: - - \.pb\.go$ + +severity: + # Set the default severity for issues. + # + # If severity rules are defined and the issues do not match or no severity is provided to the rule + # this will be the default severity applied. + # Severities should match the supported severity names of the selected out format. + # - Code climate: https://docs.codeclimate.com/docs/issues#issue-severity + # - Checkstyle: https://checkstyle.sourceforge.io/property_types.html#SeverityLevel + # - GitHub: https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message + # - TeamCity: https://www.jetbrains.com/help/teamcity/service-messages.html#Inspection+Instance + # + # `@linter` can be used as severity value to keep the severity from linters (e.g. revive, gosec, ...) + # + # Default: "" + default-severity: error + + # If set to true `severity-rules` regular expressions become case-sensitive. + # Default: false + case-sensitive: true + + # When a list of severity rules are provided, severity information will be added to lint issues. + # Severity rules have the same filtering capability as exclude rules + # except you are allowed to specify one matcher per severity rule. + # + # `@linter` can be used as severity value to keep the severity from linters (e.g. revive, gosec, ...) + # + # Only affects out formats that support setting severity information. + # + # Default: [] + rules: + - linters: + - dupl + severity: info + # output configuration options output: # colored-line-number|line-number|json|tab|checkstyle|code-climate|junit-xml|github-actions # default is "colored-line-number" - format: checkstyle + formats: + - format: colored-line-number + path: stderr + - format: checkstyle + path: linters-report.xml + + + # Order to use when sorting results. + # Require `sort-results` to `true`. + # Possible values: `file`, `linter`, and `severity`. + # + # If the severity values are inside the following list, they are ordered in this order: + # 1. error + # 2. warning + # 3. high + # 4. medium + # 5. low + # Either they are sorted alphabetically. + # + # Default: ["file"] + sort-order: + - linter + - severity + - file # filepath, line, and column. + + # Show statistics per linter. + # Default: false + show-stats: true # print lines of code with issue, default is true print-issued-lines: true @@ -186,9 +349,6 @@ output: # print linter name in the end of issue text, default is true print-linter-name: true - # make issues output unique by line, default is true - uniq-by-line: true - # add a prefix to the output file references; default is no prefix path-prefix: "" diff --git a/vendor/github.com/obalunenko/getenv/.goreleaser.yml b/vendor/github.com/obalunenko/getenv/.goreleaser.yml index d7a0b2f..4a7bbf2 100644 --- a/vendor/github.com/obalunenko/getenv/.goreleaser.yml +++ b/vendor/github.com/obalunenko/getenv/.goreleaser.yml @@ -4,6 +4,22 @@ release: github: owner: obalunenko name: getenv + footer: | + **Full Changelog**: https://github.com/obalunenko/getenv/compare/{{ .PreviousTag }}...{{ .Tag }} + +gomod: + proxy: true + # If proxy is true, use these environment variables when running `go mod` commands (namely, `go mod tidy`). + # Defaults to `os.Environ()`. + env: + - GOPROXY=https://proxy.golang.org,direct + - GOSUMDB=sum.golang.org + - GOPRIVATE=example.com/blah + - CGO_ENABLED=0 + # Which Go binary to use. + # Defaults to `go`. + mod: vendor + gobinary: go builds: - skip: true @@ -16,10 +32,12 @@ snapshot: changelog: sort: asc + use: github filters: exclude: - - '^docs:' - - '^test:' + - "^docs:" + - "^test:" + - "^dev:" - "README" - "^readme" - "^scripts" @@ -29,3 +47,15 @@ changelog: - Rebase on master - "^Makefile" - "goreleaser" + groups: + - title: 'New Features' + regexp: "^.*feat[(\\w)]*:+.*$" + order: 0 + - title: 'Bug fixes' + regexp: "^.*fix[(\\w)]*:+.*$" + order: 10 + - title: Other work + order: 999 + +milestones: + - close: true diff --git a/vendor/github.com/obalunenko/getenv/Makefile b/vendor/github.com/obalunenko/getenv/Makefile index ba31b6e..f281847 100644 --- a/vendor/github.com/obalunenko/getenv/Makefile +++ b/vendor/github.com/obalunenko/getenv/Makefile @@ -14,7 +14,7 @@ COMPOSE_TOOLS_CMD_BASE=docker compose -f $(COMPOSE_TOOLS_FILE) COMPOSE_TOOLS_CMD_UP=$(COMPOSE_TOOLS_CMD_BASE) up --exit-code-from COMPOSE_TOOLS_CMD_PULL=$(COMPOSE_TOOLS_CMD_BASE) pull -GOVERSION:=1.23 +GOVERSION:=1.24 TARGET_MAX_CHAR_NUM=20 diff --git a/vendor/github.com/obalunenko/getenv/getenv.go b/vendor/github.com/obalunenko/getenv/getenv.go index d883481..0ca9ae8 100644 --- a/vendor/github.com/obalunenko/getenv/getenv.go +++ b/vendor/github.com/obalunenko/getenv/getenv.go @@ -80,7 +80,12 @@ func Env[T internal.EnvParsable](key string, options ...option.Option) (T, error return t, fmt.Errorf("failed to parse environment variable[%s]: %w", key, err) } - return val.(T), nil + res, ok := val.(T) + if !ok { + return t, fmt.Errorf("failed to parse environment variable[%s]: %w", key, ErrInvalidValue) + } + + return res, nil } // EnvOrDefault retrieves the value of the environment variable named by the key. diff --git a/vendor/github.com/obalunenko/getenv/internal/parsers.go b/vendor/github.com/obalunenko/getenv/internal/parsers.go index 73067ca..e362b60 100644 --- a/vendor/github.com/obalunenko/getenv/internal/parsers.go +++ b/vendor/github.com/obalunenko/getenv/internal/parsers.go @@ -91,21 +91,36 @@ func parseNumberGen[T Number](raw string) (T, error) { return tt, ErrInvalidValue } - return any(T(val)).(T), nil + res, ok := any(T(val)).(T) + if !ok { + return tt, ErrInvalidValue + } + + return res, nil case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: val, err := strconv.ParseUint(raw, base, rt.Bits()) if err != nil { return tt, ErrInvalidValue } - return any(T(val)).(T), nil + res, ok := any(T(val)).(T) + if !ok { + return tt, ErrInvalidValue + } + + return res, nil case reflect.Float32, reflect.Float64: val, err := strconv.ParseFloat(raw, rt.Bits()) if err != nil { return tt, ErrInvalidValue } - return any(T(val)).(T), nil + res, ok := any(T(val)).(T) + if !ok { + return tt, ErrInvalidValue + } + + return res, nil default: return tt, ErrInvalidValue } @@ -299,7 +314,12 @@ func parseComplexGen[T Complex](raw string) (T, error) { return tt, newErrInvalidValue(err.Error()) } - return any(T(val)).(T), nil + res, ok := any(T(val)).(T) + if !ok { + return tt, ErrInvalidValue + } + + return res, nil } func parseComplexSliceGen[S []T, T Complex](raw []string) (S, error) { diff --git a/vendor/github.com/obalunenko/getenv/linters-report.xml b/vendor/github.com/obalunenko/getenv/linters-report.xml new file mode 100644 index 0000000..fd4ea08 --- /dev/null +++ b/vendor/github.com/obalunenko/getenv/linters-report.xml @@ -0,0 +1,3 @@ + + + diff --git a/vendor/golang.org/x/exp/LICENSE b/vendor/golang.org/x/exp/LICENSE index 6a66aea..2a7cf70 100644 --- a/vendor/golang.org/x/exp/LICENSE +++ b/vendor/golang.org/x/exp/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2009 The Go Authors. All rights reserved. +Copyright 2009 The Go Authors. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer. copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of Google Inc. nor the names of its + * Neither the name of Google LLC nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/vendor/golang.org/x/exp/constraints/constraints.go b/vendor/golang.org/x/exp/constraints/constraints.go index 2c033df..a9392af 100644 --- a/vendor/golang.org/x/exp/constraints/constraints.go +++ b/vendor/golang.org/x/exp/constraints/constraints.go @@ -45,6 +45,8 @@ type Complex interface { // that supports the operators < <= >= >. // If future releases of Go add new ordered types, // this constraint will be modified to include them. +// +// This type is redundant since Go 1.21 introduced [cmp.Ordered]. type Ordered interface { Integer | Float | ~string } diff --git a/vendor/golang.org/x/sync/LICENSE b/vendor/golang.org/x/sync/LICENSE index 6a66aea..2a7cf70 100644 --- a/vendor/golang.org/x/sync/LICENSE +++ b/vendor/golang.org/x/sync/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2009 The Go Authors. All rights reserved. +Copyright 2009 The Go Authors. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer. copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of Google Inc. nor the names of its + * Neither the name of Google LLC nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/vendor/golang.org/x/sync/errgroup/errgroup.go b/vendor/golang.org/x/sync/errgroup/errgroup.go index 948a3ee..b832259 100644 --- a/vendor/golang.org/x/sync/errgroup/errgroup.go +++ b/vendor/golang.org/x/sync/errgroup/errgroup.go @@ -118,6 +118,7 @@ func (g *Group) TryGo(f func() error) bool { // SetLimit limits the number of active goroutines in this group to at most n. // A negative value indicates no limit. +// A limit of zero will prevent any new goroutines from being added. // // Any subsequent call to the Go method will block until it can add an active // goroutine without exceeding the configured limit. diff --git a/vendor/modules.txt b/vendor/modules.txt index f348b29..d66e481 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -70,8 +70,8 @@ github.com/mailru/easyjson/jwriter # github.com/mitchellh/mapstructure v1.5.0 ## explicit; go 1.14 github.com/mitchellh/mapstructure -# github.com/obalunenko/getenv v1.14.0 -## explicit; go 1.23 +# github.com/obalunenko/getenv v1.14.1 +## explicit; go 1.24 github.com/obalunenko/getenv github.com/obalunenko/getenv/internal github.com/obalunenko/getenv/option @@ -122,10 +122,10 @@ go.opentelemetry.io/otel/metric/embedded ## explicit; go 1.20 go.opentelemetry.io/otel/trace go.opentelemetry.io/otel/trace/embedded -# golang.org/x/exp v0.0.0-20240213143201-ec583247a57a -## explicit; go 1.20 +# golang.org/x/exp v0.0.0-20250218142911-aa4b98e5adaa +## explicit; go 1.23.0 golang.org/x/exp/constraints -# golang.org/x/sync v0.6.0 +# golang.org/x/sync v0.11.0 ## explicit; go 1.18 golang.org/x/sync/errgroup # gopkg.in/yaml.v3 v3.0.1