blue-jay / blueprint

Blueprint for your next web application in Go.
https://blue-jay.github.io/
MIT License
481 stars 77 forks source link

Controller code generation templates have incorrect import path for acl middleware. #44

Closed benjmarshall closed 8 years ago

benjmarshall commented 8 years ago

The 'default.gen' and 'noflight.gen' templates both include imports for: "github.com/blue-jay/blueprint/lib/middleware/acl"

This results in 'cannot find package' build errors in the generated code.

The include paths should be corrected to: "github.com/blue-jay/blueprint/middleware/acl"

I.e. remove the '/lib' element.

josephspurrier commented 8 years ago

Yep, good catch. I need to create tests for the templates to ensure they work properly as I refactor.

josephspurrier commented 8 years ago

Thanks!