AndrewBurian / AndrewBurian/powerweb

Content Decode

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Decodes a request body into the provided structure.

`Decode(req http.Request, obj interface{}) error`

If `Content-Type` isn't set, use [`net/http#DetectContentType`](https://golang.org/pkg/net/http/#DetectContentType)

Support multi-type decoding for any object.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.