Skip to content

Need a tag for the du module to enable easy updates to later versions #7

@carleeto

Description

@carleeto

The du folder has its own go.mod file and is therefore a separate module, which means that it cannot be updated based on existing tags.

Therefoure, go get -u github.com/ricochet2200/go-disk-usage/[email protected] results in the following error:

go get: module github.com/ricochet2200/[email protected] found, but does not contain package github.com/ricochet2200/go-disk-usage/du

As per the docs, when there are multiple modules in one repository, the tags need to indicate which module is being versioned.

In other words, you would need to add a tag called du/v1.1.2 to allow downstream packages to use the latest du module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions