-
|
Is it possible to add native postgresql UUID type support for creating table over model with CreateTable func? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
|
Did you try https://github.com/google/uuid or https://github.com/satori/go.uuid? |
Beta Was this translation helpful? Give feedback.
-
|
I tried https://github.com/satori/go.uuid - it supports UUIDv5. |
Beta Was this translation helpful? Give feedback.
-
|
For Later go-pg can be improved to treat |
Beta Was this translation helpful? Give feedback.
-
|
Thank you very much! |
Beta Was this translation helpful? Give feedback.
-
|
I am new to go and go pg. Here is what I had learnt the hard way
you need to use 'pg' as a package reference not 'sql' |
Beta Was this translation helpful? Give feedback.
I am new to go and go pg. Here is what I had learnt the hard way
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";