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

Added 'path' as a greedy version of 'string' in Path() expression #21

Merged
merged 1 commit into from
Sep 9, 2022

Conversation

thrawn01
Copy link
Contributor

Purpose

Some apps will register routes using path instead of string as defined https://pydoc.dev/werkzeug/latest/werkzeug.routing.PathConverter.html which vulcand currently rejects.

This PR adds support for path and it's greedy nature.

Implementation

  • Converted trie_test.go to standard test functions and testify
  • Added module files

Copy link
Member

@ldez ldez left a comment

Choose a reason for hiding this comment

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

can you do a go mod tidy?

go.mod Outdated Show resolved Hide resolved
trie.go Outdated Show resolved Hide resolved
trie.go Outdated Show resolved Hide resolved
trie.go Outdated Show resolved Hide resolved
trie.go Outdated Show resolved Hide resolved
trie.go Outdated Show resolved Hide resolved
trie.go Outdated Show resolved Hide resolved
trie.go Outdated Show resolved Hide resolved
Copy link
Member

@ldez ldez left a comment

Choose a reason for hiding this comment

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

LGTM

@ldez ldez merged commit e26e8c7 into master Sep 9, 2022
@ldez ldez deleted the thrawn/develop branch September 9, 2022 13:11
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.

2 participants