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.

"panic: version queue is empty, should not happen" while trying to use "develop" branch of "github.com/gin-gonic/gin" #776

@andreynering

Description

@andreynering

What version of Go (go version) and dep (git describe --tags) are you using?

$ go version
go version go1.8 windows/386
$ git describe --tags
v0.1.0-175-gc79b048

Description

I first run dep init -v. Here the files:

Dep automatically choose the default branch of Gin project (master), but I need develop. So I changed Gopkg.toml from:

[[constraint]]
  name = "github.com/gin-gonic/gin"
  version = "1.1.4"

To:

[[constraint]]
  branch = "develop"
  name = "github.com/gin-gonic/gin"

Then I runned dep ensure and got the panic.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions