gin-gonic/website

Using middleware

dwschulze opened this issue · 0 comments

In the Using Middleware Example the code shows a code block after the call to authorized.Use(AuthRequired()).

What is the purpose of putting the code inside its own block? The block seems to be unnecessary.