Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

the newest dep version cant't get golang package #1322

Closed
@godcong

Description

@godcong

the newest dep version cant't get golang package
What is the difference between the two versions?

What version of dep are you using (dep version)?

dep 0.3.0
dep 0.3.1/0.3.2

What dep command did you run?

dep ensure

Gopkg.toml
[[constraint]]
name = "golang.org/x/text"
branch = "master"
source = "github.com/golang/text"

What did you expect to see?

i want get the text package from github.com
when i used dep 0.3.0 that's ok.

What did you see instead?

when i use dep 0.3.1/0.3.2:
error:
✗ unable to deduce repository and source type for "golang.org/x/text": unable to read metadata: unable to
fetch raw metadata: failed HTTP request to URL "http://golang.org/x/text?go-get=1": Get http://golang.org/x
/text?go-get=1: dial tcp 216.239.37.1:80: connectex: A connection attempt failed because the connected party
did not properly respond after a period of time, or established connection failed because connected host ha
s failed to respond.

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