go-don icon indicating copy to clipboard operation
go-don copied to clipboard

API framework written in Golang.

Results 13 go-don issues
Sort by recently updated
recently updated
newest added

:robot: I have created a release *beep* *boop* --- ## [0.2.2](https://github.com/abemedia/go-don/compare/v0.2.1...v0.2.2) (2024-09-01) ### Bug Fixes * **encoding:** take the first encoding supported ([#205](https://github.com/abemedia/go-don/issues/205)) ([3f53fd0](https://github.com/abemedia/go-don/commit/3f53fd061cacbc748e891baf998a91a972a5b37d)) --- This PR was generated with...

autorelease: pending

e.g. in api.go: ```diff if c.DefaultEncoding == "" { - c.DefaultEncoding = DefaultEncoding + switch len(encoders) { + case 0: + panic("no encoders available") + case 1: + for key...

Closes #93 - [ ] Write tests - [ ] Add doc string - [ ] Update readme

Depends on - #134 Middleware should have the same signature as handlers. Create middleware packages for common use-cases. - [ ] Logger - [ ] BasicAuth - [ ] CORS...

Create a `don.Context` interface with an implementation that calls out to `fasthttp`. `don.Context` Methods: - `context.Context` - `io.Reader` (reads from request body) - `io.Writer` (writes to response body) - `Body()...

Support decoding body into a struct field using `text:"body"` tag.