1
0
mirror of https://github.com/labstack/echo.git synced 2025-07-03 00:56:59 +02:00

Change type definition blocks to single declarations. This helps copy/pasting Echo code in examples. (#2606)

This commit is contained in:
Martti T
2024-03-09 17:53:07 +02:00
committed by GitHub
parent 5f7bedfb86
commit 3598f295f9
31 changed files with 1272 additions and 1370 deletions

View File

@ -25,11 +25,9 @@ import (
"github.com/stretchr/testify/assert"
)
type (
Template struct {
templates *template.Template
}
)
type Template struct {
templates *template.Template
}
var testUser = user{1, "Jon Snow"}