add support for time.Time type
When we are writing .api contract for gateway service, probably the common data type, that we are getting from request is time.Time type. Go handles parsing of time.Time if it's format is RFC3379. I suggest you to add time.Time supporting for .api files. Otherwise, we must use string for time and then parsing it by ourselves in the logic, which is not comfortable. I can do it by myself and be a contributor, if there is any rules in your project. Thanks
I think we need to check which programming languages can parse time.Time. For example TypeScript, JavaScript, Dart, Java, etc. Lots of users use .api files to generate code in different languages.
I totally agree the need for time.Time type in .api files. However, given the different kinds of formatting of time strings could be, I could feel the large obstacle in implementing it. Also kevwan mentioned the difficulties about different languanges.
I think we need to check which programming languages can parse
time.Time. For example TypeScript, JavaScript, Dart, Java, etc. Lots of users use .api files to generate code in different languages.
Can't we just use select, case like statement for these languages or at least, add support for time.Time only for Golang? Or it's not possible?