novuhq / go-novu

GO SDK for Novu - The open-source notification infrastructure for engineers. 🚀
MIT License
57 stars 45 forks source link

feat-add messages api #53

Closed jerempy closed 11 months ago

jerempy commented 11 months ago

Issue: https://github.com/novuhq/go-novu/issues/50

This adds the methods needed for the messages api per: https://api.novu.co/api#/Messages/MessagesController_getMessages

It also introduces a QueryBuilder interface for passing parameters to build query strings with. Using this allows us to not need to rely on reflection which improves performancec and also gives us explicit types and handling for parsing query structs into strings

Cliftonz commented 11 months ago

@jerempy please resolve the conflicts

jerempy commented 11 months ago

@Cliftonz rebased on master and resolved conflicts. I will need to do the same with feeds api PR after this one merges