github.com/raohwork/jsonapi
Package jsonapi is simple wrapper for buildin net/http package. It aims to let developers build json-based web api easier. Create an api handler is so easy: And this is how we do in main function: Generated response is a subset of specs in https://jsonapi.org. Refer to `handler_test.go` for examples. There's a `fetch.ts` providing `grab<T>()` as simple wrapping around `fetch()`. With following Go code: You might write TypeScript code like this:
No maintainers found.
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/raohwork/jsonapi
spec |
| License | MPL-2.0 |
| Namespace | github.com/raohwork |
| First Release | over 6 years ago |
| Last Synced | 12 days ago |
Repository
| Stars | 0 on GitHub |
| Forks | 0 on GitHub |
Rankings on proxy.golang.org
Dependent repos
Top 4.8%