Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New http-like HotFunction GO example #691

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

auyer
Copy link
Contributor

@auyer auyer commented Oct 1, 2018

This new example is helpfull specially for people migration from "normal microservices".

The handler is almost the same as a http handler, and the information is decoded from the body with decoder := json.NewDecoder(req.Body) .

I also demonstrate how to create tests for the functions.

auyer added 2 commits September 13, 2018 11:28
This example function now implements default request decoding, like if it was part of any http framework.
@auyer
Copy link
Contributor Author

auyer commented Oct 1, 2018

The failed tests are unrelated to the PR. All tests in the master branch are failing since pull/669

The CLA assistant Bot seems to be unconfigured. I got the link from a different PR, but there is no other mention of the CLA in the Project. A link to it should be included in the CONTRIBUTING.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant