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

fix(lang): render function signatures using standard formatting #53

Merged
merged 1 commit into from
Nov 15, 2021

Conversation

princjef
Copy link
Owner

Functions are rendered today using the same formatting as the original source code, including multiline rendering of the signature where used. This is inconsistent with godoc representation and is problematic for rendering as a link in the package index.

This change converts the rendering of the function signature to "standard" rendering, which renders function arguments on a single line by default.

Fixes #46

@princjef princjef merged commit b1824e6 into master Nov 15, 2021
@princjef princjef deleted the function-signature branch November 15, 2021 03:25
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.

formatting issue in case of function signature spanning multiple lines
1 participant