Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The echo.WrapHandler method feels somewhat redundant.#2809

dage212 started this conversation inGeneral
Discussion options

I’m currently developing my open-source projectfire-doc and want to use an any route. My handler is written using Go’s standard library, and I’d like to integrate it with Echo. However, I found that I need to use an additional WrapHandler. Why is this method necessary? Why not keep it consistent with the standard library so that compatibility would be better?

You must be logged in to vote

Replies: 1 comment

Comment options

This is because Echo handler has different function signature - mainly the Context interface which has different methods that give you extra functionality when dealing with requests/responses.

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
2 participants
@dage212@aldas

[8]ページ先頭

©2009-2025 Movatter.jp