You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./keys.generated.go:1939:23: cannot use x.Expiration (type *time.Time) as type time.Time in argument to r.encDriver.EncodeTime
./keys.generated.go:1959:23: cannot use x.Expiration (type *time.Time) as type time.Time in argument to r.encDriver.EncodeTime
The text was updated successfully, but these errors were encountered:
ugorji
changed the title
codecgen: handle variables of type *time.Time correctly
codecgen: handle struct fields of type *time.Time correctly
Apr 7, 2018
If a type has a variable of type *time.Time, the generated code does not compile.
We get errors like those seen in gyuho/etcd@1743d96#commitcomment-28455954
These are captured in
go get github.com/cores/etcd/client
fails on generated code etcd-io/etcd#8715The text was updated successfully, but these errors were encountered: