hello-world-go-gorm

command module
v0.0.0-...-1fae9fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

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:

  1. Start a local CockroachDB cluster, or use CockroachCloud.

  2. From the command line, execute the following:

    go mod init basic-sample && go mod tidy
    
    go run main.go
    
  3. Enter the connection string for the cluster.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL