An open API service indexing awesome lists of open source software.

https://github.com/aep/sour

go fiber middleware
https://github.com/aep/sour

Last synced: about 1 month ago
JSON representation

go fiber middleware

Awesome Lists containing this project

README

          

middleware for gin-gonic
------------------------

# Static

cache busting with content-hashed filenames.
i.e. /static/foo.png is loaded as /static/foo-123123123.png

usage:

```go
app.Use(fibers.StaticMiddleware(rice.MustFindBox("static"), "/static"))
```

and in views:

```

```

pass .static to c.Render, since views.AddFunc seems broken?
https://github.com/gofiber/template/issues/77