Skip to content

Incompatibility with Go 1.24? #312

@jachym-tousek-keboola

Description

@jachym-tousek-keboola

After updating to Go 1.24 I'm running into this error whenever I run any go-licenses command:

$ go tool go-licenses report ./...
# github.com/google/go-licenses
vendor/github.com/google/go-licenses/save.go:125:9: cannot use func(src string) (bool, error) {…} (value of type func(src string) (bool, error)) as func(srcinfo os.FileInfo, src string, dest string) (bool, error) value in struct literal

Anyone else having this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions