Skip to content

add support for time.Time type #5268

@Extraordinary01

Description

@Extraordinary01

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions