diff options
Diffstat (limited to 'vendor/github.com/labstack/echo/v4/group_fs.go')
-rw-r--r-- | vendor/github.com/labstack/echo/v4/group_fs.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/github.com/labstack/echo/v4/group_fs.go b/vendor/github.com/labstack/echo/v4/group_fs.go new file mode 100644 index 00000000..0a1ce4a9 --- /dev/null +++ b/vendor/github.com/labstack/echo/v4/group_fs.go @@ -0,0 +1,9 @@ +//go:build !go1.16 +// +build !go1.16 + +package echo + +// Static implements `Echo#Static()` for sub-routes within the Group. +func (g *Group) Static(prefix, root string) { + g.static(prefix, root, g.GET) +} |