Comments (2)
Ok as shown in the example (https://github.com/ggicci/httpin-example/blob/main/main.go) it is necessary to inject httpin.NewInput(*inputObject)
in the router handle. Would be nice to mention this in the documentation for example in the "Getting Started" section
from httpin.
Thanks for the advice @thielpeter. I've updated the Getting Started section.
from httpin.
Related Issues (20)
- Support `multipart/form-data` for file uploading requests HOT 1
- feature request - add commonly used structures, e.g. pagination? HOT 1
- integrate with go-restful HOT 7
- allow using json tag value as a fallback HOT 1
- implement a "default" directive HOT 4
- implement some frequently used directives as builtins HOT 2
- embed go playground into httpin docs HOT 2
- replace default decoder for JSON HOT 4
- the error occurred when parsing form data of the http request is not explicit to clients
- Parse and validate custom time format HOT 5
- integrate with more web frameworks or packages
- Allow mix of body input and param input HOT 1
- Require doesn't work as expected when using mixed body input HOT 1
- Invoke decode manually HOT 2
- decoder registered with ReplaceTypeDecoder not invoked HOT 2
- implementation regexp for tag HOT 5
- Feature Request: support encoding HOT 4
- bump version to 1.0.0
- bug: required errors use golang name instead of field name HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from httpin.