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
gentools install broke yesterday - go install gorm.io/gen/tools/gentool@latest fails #1125
Comments
Describe the error? |
$ go install ***@***.***: ***@***.***: module ***@***.*** found (v0.3.26), but does not contain package gorm.io/gen/tools/gentoolOn Apr 11, 2024, at 11:33 AM, True R1v3r ***@***.***> wrote:
Describe the error?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Okay, thanks for the report. I will fix it ASAP |
Thank you!While I have you, any chance we can fix the mapping of Postgres primary key SERIAL columns in the generation? I use a post-processing sed script to clean up the erroneous golang code generation when that keyword is affixed to a table column.On Apr 11, 2024, at 11:52 AM, True R1v3r ***@***.***> wrote:
Okay, thanks for the report. I will fix it ASAP
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Of course, but that's another request, you can raise another issue. |
Indeed… I’ll add it knowing you t open to looking at it!On Apr 11, 2024, at 12:11 PM, True R1v3r ***@***.***> wrote:
Of course, but that's another request, you can raise another issue.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I've added independent tag for the gentool. According to the information provided at https://golang.org/ref/mod#vcs-version, build tag in this way should allow for the direct retrieval of the corresponding version of the code using |
I've pinpointed the cause, it's the domain not updating its routing information causing a 404 when requesting the URL https://gorm.io/gen/tools/gentool?go-get=1 |
It's working now. |
Thanks was it a GitHub tag issue?On Apr 13, 2024, at 12:36 PM, True R1v3r ***@***.***> wrote:
It's working now.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
not exactly the tag, it's the https://gorm.io/gen/tools/gentool?go-get=1 meta tags value does not conform to the sub-module markup specification. |
GORM Playground Link
go-gorm/playground#1
Description
The text was updated successfully, but these errors were encountered: