Skip to content

Conversation

natefinch
Copy link
Member

// mage:import
import "github.com/example.com/foo"

This used to not be recognized as a mage import, now it works. The trick is that the comment above is not on the package declaration, but on the declaration as a whole.

fixes #194

@natefinch natefinch merged commit aedfce6 into master Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

single line import doesn't work with mage:import
1 participant