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 "/*" occurences from route titles #6

Merged
merged 1 commit into from
Mar 25, 2021

Conversation

cescoferraro
Copy link
Contributor

@cescoferraro cescoferraro commented Feb 22, 2018

The markdown hierarchy already informs the reader there is something below the route.
I thought the wildcard thing is not that necessary. What do you guys think?

Before

before

After

after

@vporoshok
Copy link

Is this project still maintained?

@partounian
Copy link

doesn't seem so

Copy link
Contributor

@VojtechVitek VojtechVitek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -209,3 +209,10 @@ func (md *MarkdownDoc) githubSourceURL(file string, line int) string {
// absolute
return fmt.Sprintf("https://%s#L%d", file, line)
}

func normalizer(s string) string {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR looks good. However, should this '/*' replace logic be directly in chi.Walk()?

@pkieltyka pkieltyka merged commit 0c5a26a into go-chi:master Mar 25, 2021
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.

None yet

5 participants