Skip to content

fix imports for twitter example #811

@shamaton

Description

@shamaton

This issue made for PR(#810)
This content is same.


This commit has errors in twitter sample.
63262b2

So this PR fixed theirs.

errors

$ go run server.go
server.go:6:2: cannot find package "github.com/labstack/echo/recipe/twitter/handler" in any of:
    /usr/local/go/src/github.com/labstack/echo/recipe/twitter/handler (from $GOROOT)
    ${GOPATH}/src/github.com/labstack/echo/recipe/twitter/handler (from $GOPATH)

handler/post.go:8:2: cannot find package "github.com/labstack/echo/recipe/twitter/model" in any of:
    /usr/local/go/src/github.com/labstack/echo/recipe/twitter/model (from $GOROOT)
    ${GOPATH}/src/github.com/labstack/echo/recipe/twitter/model (from $GOPATH)

handler/user.go:9:2: cannot find package "github.com/labstack/echo/recipe/twitter/model" in any of:
    /usr/local/go/src/github.com/labstack/echo/recipe/twitter/model (from $GOROOT)
    ${GOPATH}/src/github.com/labstack/echo/recipe/twitter/model (from $GOPATH)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions