Skip to content

Added fix for instance of Echo that have a prefix (created with `Group()... #37

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

Closed
wants to merge 1 commit into from

Conversation

newoga
Copy link

@newoga newoga commented Apr 24, 2015

Added fix for instance of Echo that have a prefix (created with Group() method). TheURI()` method should return prefix plus the calculated string.

This is related to /pull/36, I closed that pull request because this one contains a fix. This is also relates to #12

…p()` method). The `URI()` method should return prefix plus the calculated string.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 91.81% when pulling b194975 on newoga:FixEchoURL into eee38a6 on labstack:master.

@newoga newoga mentioned this pull request Apr 24, 2015
@newoga
Copy link
Author

newoga commented Apr 24, 2015

Note: To make this build pass, we need to remove the two tests:

if e.URI(getGroups) != "/groups" {
  t.Error("uri should be /groups")
}

if e.URI(getGroup, "1") != "/groups/1" {
  t.Error("uri should be /groups/1")
}

The question is should that work from an API perspective or not...

vishr added a commit that referenced this pull request May 31, 2015
Signed-off-by: Vishal Rana <[email protected]>
@vishr
Copy link
Member

vishr commented May 31, 2015

1da930b

@vishr vishr closed this May 31, 2015
vishr added a commit that referenced this pull request May 31, 2015
Signed-off-by: Vishal Rana <[email protected]>
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.

3 participants