Commit graph

2 commits

Author SHA1 Message Date
smavros
487810f148 Adds Request type in requests.go:
This struct will be the basis every possible request. For now it
    contains only the fields of the User request. The idea is that it
    will containt every possible field of any model together with the
    `omitempty` flag so we can marshal only the initialized fields. This
    will deprecate all the ResponseMsg* types that were actually used
    for requests.
2019-08-13 19:15:31 +02:00
smavros
b6a269bdeb Deprecates ResponseMsgUses. Introduces common/requests.go 2019-08-13 17:41:04 +02:00