Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use custom go types for postgresql types? #321

Open
fho opened this issue Sep 15, 2021 · 0 comments
Open

How to use custom go types for postgresql types? #321

fho opened this issue Sep 15, 2021 · 0 comments

Comments

@fho
Copy link
Contributor

fho commented Sep 15, 2021

Hello,

is it possible to specify that a custom Go Type should be used for a postgresql type instead of the default?

For example I would like to generate code that uses for the JsonB postgresql my custom mytypes.JsonB Go-Type instead of []byte.

@fho fho changed the title Use custom go types for postgresql types How to use custom go types for postgresql types? Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant