oapi-codegen
oapi-codegen copied to clipboard
Added function to set date format
I would like to have a way to define the date format from my own code.
This looks like what I needed! Without that I must to write custom UnmarshalJSON for correct date converting.
DateFormat is a public global variable that can be set even without that function.
@jxsl13 it was constant before
my bad