Skip to content

Readme seems to be confusing regarding versions #1292

Closed
@rmasclef

Description

@rmasclef

Issue Description

As of version 4.0.0, Echo is available as a Go module. Therefore a Go version capable of understanding /vN suffixed imports is required
1.9.7+
1.10.3+
1.11+

That can be undestood as

you can use v4 with go version > 1.9.7

Expected behaviour

import github.com/labstack/echo/v4 using dep actually imports v4 version

Actual behaviour

Solving failure: No versions of github.com/labstack/echo met constraints:
	v4.0.0: Could not introduce github.com/labstack/[email protected], as its subpackage github.com/labstack/echo/v4/middleware is missing. (Package is required by (root).)
	v3.3.10: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.3.9: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.3.8: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.3.7: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.3.6: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.3.5: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	3.3.4: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.3.4: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.3.3: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	3.3.3: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.3.2: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	3.3.2: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	3.3.1: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.3.1: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	3.3.0: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.3.0: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	3.2.6: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.2.6: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.2.5: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	3.2.5: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.2.4: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	3.2.4: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	3.2.3: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.2.3: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.2.2: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	3.2.2: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.2.1: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.2.0: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.1.0: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.0.3: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.0.2: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.0.1: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.0.0: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v2.2.0: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v2.1: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v2.0.2: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v2.0.1: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v2.0.0: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v1.4.4: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v1.4.3: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v1.4.2: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v1.4.1: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v1.4: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v1.3: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v1.2.0: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v1.1.0: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v1.0.0: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v0.0.16: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v0.0.15: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v0.0.14: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v0.0.13: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v0.0.12: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v0.0.11: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v0.0.10: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v0.0.9: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v0.0.8: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v0.0.7: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v0.0.6: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v0.0.5: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v0.0.4: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v0.0.3: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v0.0.2: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.3.8-retag: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.3.7-retag: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.3.6-retag: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.3.5-retag: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.1.0-rc.1: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.0.0-beta.3: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.0.0-beta.2: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v3.0.0-beta.1: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v2.0.0-beta.2: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v2.0.0-beta.1: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v2.0.0-apha1: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v2.0.0-apha.2: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v2.0.0-apha.1: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	2.0.0-alpha: Could not introduce github.com/labstack/[email protected], as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	master: Could not introduce github.com/labstack/echo@master, as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v1: Could not introduce github.com/labstack/echo@v1, as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.
	v2: Could not introduce github.com/labstack/echo@v2, as it is not allowed by constraint ^4.0.0 from project github.com/rmasclef/awesomeProject.

Steps to reproduce

Gopkg.toml

[prune]
  go-tests = true
  unused-packages = true

[[constraint]]
  name = "github.com/labstack/echo"
  version = "^4.0"

main.go

package main

import (
	"net/http"

	"github.com/labstack/echo/v4"
	"github.com/labstack/echo/v4/middleware"
)

func main() {
	// Echo instance
	e := echo.New()

	// Middleware
	e.Use(middleware.Logger())
	e.Use(middleware.Recover())

	// Routes
	e.GET("/", hello)

	// Start server
	e.Logger.Fatal(e.Start(":1323"))
}

// Handler
func hello(c echo.Context) error {
	return c.String(http.StatusOK, "Hello, World!")
}

Version/commit

  • go version : 1.11.5 darwin/amd64
  • gomodules: disabled

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions