forcedotcom / go-soql

Golang tag library to generate SOQL queries
BSD 3-Clause "New" or "Revised" License
52 stars 12 forks source link

Add support for SOQL Date type? #33

Closed mskwon closed 2 years ago

mskwon commented 2 years ago

Hey, first off - just wanted to say that this package is super useful!

I was wondering if it would be possible to add support for a Date type. We're running into this issue where generated queries end up being invalid due to a dateTime string being compared with a date field...

I've taken a stab at this, however haven't implemented the JSON/YAML marshaler/unmarshaler interfaces - what do you think?

Thank you!