Discover Packages
github.com/cockroachlabs/hello-world-go-gorm
command
module
Version:
v0.0.0-...-1fae9fe
Opens a new window with list of versions in this module.
Published: Jan 11, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
This repo contains the source code for a simple Hello World application, written in Go. The app uses GORM to connect to an existing CockroachDB cluster.
To run the code:
Start a local CockroachDB cluster , or use CockroachCloud .
From the command line, execute the following:
go mod init basic-sample && go mod tidy
go run main.go
Enter the connection string for the cluster.
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.