Using this flag: --go-type 'date=*time.Time' The type is replaced in the struct, but the time package is no longer imported and it will not compile.
Using this flag:
--go-type 'date=*time.Time'
The type is replaced in the struct, but the time package is no longer imported and it will not compile.