Skip to content

cockroachlabs/hello-world-go-pgx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

This repo contains the source code for a simple Hello World application, written in Go. The app uses the pgx driver 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages