i-love-flamingo / flamingo

Flamingo Framework and Core Library. Flamingo is a go based framework to build pluggable applications. Focus is on clean architecture, maintainability and operation readiness.

Home Page:http://www.flamingo.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sane web.Result defaults

bastianccm opened this issue · comments

Works: new(web.Responder).Data(data)
Doesn't work: &web.DataResponse{Data: data}

Both should work, so for basic usage it's possible to use functions for actions with creating bigger modules