-
Notifications
You must be signed in to change notification settings - Fork 474
Golang Hello World updates (PGX) #8991
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything works, I'd just eliminate the first 2 step sections.
<section class="filter-content" markdown="1" data-scope="secure"> | ||
|
||
## Step 3. Create the `maxroach` user and `bank` database | ||
## Step 3. Start CockroachDB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe running go mod init
below eliminates the need for Steps 1 & 2. All the library deps are resolved at that point.
4d643da
to
74fef3e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ianjevans TFTR!
Reviewable status:
complete! 0 of 0 LGTMs obtained (waiting on @ianjevans)
v20.2/build-a-go-app-with-cockroachdb.md, line 35 at r1 (raw file):
Previously, ianjevans (Ian Evans) wrote…
I believe running
go mod init
below eliminates the need for Steps 1 & 2. All the library deps are resolved at that point.
Done.
Related to https://github.com/cockroachlabs/hello-world-go-pgx/pull/1.
Related to #8899.