Skip to content

Conversation

yangfei4913438
Copy link

@yangfei4913438 yangfei4913438 commented Apr 17, 2017

No description provided.

@@ -135,6 +137,22 @@ func (c *Controller) RenderTemplate(templatePath string) Result {
}
}

//receive a post method of json request.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// ReceiveJSON unmarshal the input streaming JSON data, returns map[string]interface{} type data.
// To access this data we can use a type assertion to access map[string]interface{}.
// Reference to [Decoding arbitrary data chapter] in https://blog.golang.org/json-and-go

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a little clear. :)

@notzippy
Copy link
Collaborator

Looks like a good start - It would be nice to try and implement a more transparent solution but that can be deferred.

@notzippy notzippy changed the base branch from master to develop April 18, 2017 04:07
@notzippy notzippy added this to the v0.15 milestone Apr 18, 2017
@notzippy notzippy added status-tested Ready for release type-enhancement New enhancement of existing feature waffle: ready and removed waffle-ready labels Apr 18, 2017
@notzippy notzippy added status-doing Implementation has started and removed waffle: ready labels May 3, 2017
@notzippy notzippy modified the milestones: v0.16, v0.15 May 5, 2017
@notzippy notzippy added waffle: needs review status-doing Implementation has started and removed status-doing Implementation has started waffle: needs review labels May 16, 2017
@brendensoares
Copy link
Member

Covered by #1173

@brendensoares brendensoares removed the status-doing Implementation has started label May 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status-tested Ready for release type-enhancement New enhancement of existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants