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

Remove the workaround for adding the function comment #54

Open
zimmski opened this issue Nov 5, 2015 · 0 comments
Open

Remove the workaround for adding the function comment #54

zimmski opened this issue Nov 5, 2015 · 0 comments

Comments

@zimmski
Copy link
Member

zimmski commented Nov 5, 2015

The function comment during the generation is added not with the AST but by adding it to the generated string. This is needed because otherwise the comment would be on the line of the function signature and not one line before the signature. This can be surely done via a Go package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant