Last active
June 22, 2018 08:35
-
-
Save kitz99/e242c9fcfac8d30104be2d26de513c34 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func init() { | |
roachConnection, err := sql.Open("postgres", "postgresql://root@localhost:26257/blog_db?sslmode=disable") | |
if err != nil { | |
panic("Could not establish connection to CockroachDB") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment