Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go/ast: provide a mechanism to manipulate imports #5931

Closed
griesemer opened this issue Jul 22, 2013 · 2 comments
Closed

go/ast: provide a mechanism to manipulate imports #5931

griesemer opened this issue Jul 22, 2013 · 2 comments
Assignees

Comments

@griesemer
Copy link
Contributor

@griesemer griesemer commented Jul 22, 2013

For automatic manipulation of import declarations, the ast package should provide a
mechanism to manipulate import lists (adding, removing of imports from a group of
imports).

Feature request by bradfitz.
@rsc
Copy link
Contributor

@rsc rsc commented Jul 22, 2013

Comment 2:

Can steal the code from gofix.
@griesemer
Copy link
Contributor Author

@griesemer griesemer commented Nov 19, 2013

Comment 3:

go.tools/astutils implements this functionality now.

Status changed to Fixed.

@griesemer griesemer self-assigned this Nov 19, 2013
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.