Skip to content

Potential case-insensitive import collision: import path should be "github.com/unknwon/com", not "github.com/Unknwon/com" #61

@KateGo520

Description

@KateGo520

Background

The repo github.com/Unknwon/com already renamed to github.com/unknwon/com in the version v1.0.0.
https://github.com/unknwon/com/blob/v1.0.0/example_test.go

package com_test
import (
	"github.com/unknwon/com"
	…
)

The github.com/Unknwon/com is the old path, any repos using it should be updated to import and require github.com/unknwon/com. Or this may take some potential problems.

Solution

Replace all the import paths, change "github.com/Unknwon/com" to "github.com/unknwon/com".
Where did you import it: https://github.com/rai-project/mlmodelscope/search?q=github.com%2FUnknwon%2Fcom&unscoped_q=github.com%2FUnknwon%2Fcom

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions