Replies: 2 comments
-
You need to implement |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ok, will try, thanx! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have understood that the
tstzrange
pgtype equivalent ispgtype.Range[time.Time]
, and that if I declare my own type for this pgtype will not be able to recognize it. ("It currently cannot automatically detect the underlying type of renamed structs")I'm trying to do exactly this: Implement my own renamed type
Then I am trying to implement custom TextValuer/Scanner
Here TextValue() is called and seems to work, but ScanText is never called and I get errors like
What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions