-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
When I create a sample project, it creates the following code in app/controllers/app.go:
package controllers
import "github.com/robfig/revel"
type Application struct {
*rev.Controller
}
func (c Application) Index() rev.Result {
return c.Render()
}
But package revel doesn't exist. When "go get" runs, it downloads github.com/robfig/revel with the directory revel, yet you placed all the source code into package "rev". So what I had to do to get gocode to stop complaining was to create a symlink named rev to point to revel and change the import statements to import only rev, not revel.
The gist of this is: Please put the code into package revel if the final directory is named revel, or rename the final directory to rev.
Metadata
Metadata
Assignees
Labels
No labels