ozzo-routing icon indicating copy to clipboard operation
ozzo-routing copied to clipboard

An extremely fast Go (golang) HTTP router that supports regular expression route matching. Comes with full support for building RESTful APIs.

Results 12 ozzo-routing issues
Sort by recently updated
recently updated
newest added

This pull request adds the option `FS` to the `ServerOptions` of the file server middleware which allows passing an `fs.FS` as content root. For example, this makes it possible to...

Im want to do some permission check in middleware.

Hi! I try to find the way to populate DDD aggregate with simple joined query. At this moment it possible only by giving all needed fields in select query. I...

Reading array query parameters doesn't seem to work with common non primitive types (eg. `[]time.Time`, `[]uuid.UUID`, etc.). Example: ``` // url: http://localhost:8090/api/test?Names=test1&Dates=2020-10-11T21%3A00%3A00.000Z data := &struct{ Names []string Dates []time.Time }{}...

Hi! I am using content.TypeNegotiator(content.JSON) But for some reason there is no encoding set (charset=UTF-8). How do I better set the response encoding for the all application at once? Thank...

Hello, In the API layer of my app, Every call can return HTTPError with various Status. For exemple in case of a no found objet for a GET call I...

We use `c.Set("isUser", true)` to pass data to other handlers, sometimes in complex functions, we may use a few handlers inside a handler, some handlers may required some internal data...

I was going through the documentation and I saw the explanation given about [error handling](https://github.com/go-ozzo/ozzo-routing#error-handling). What I am trying to achieve is being able to return an html file in...

test code is: ``` package main import ( "github.com/go-ozzo/ozzo-routing" "github.com/go-ozzo/ozzo-routing/fault" "log" "net/http" ) func main() { router := routing.New() router.Use( fault.Recovery(log.Printf, func(c *routing.Context, err error) error { c.Write(err) return nil...

I'm trying to write a unit test, as I would in Express+Supertest. I'm finding that when I provide a test URL, that the parameters are not parsed. ```go import (...