16_go-postgres

command
v0.0.0-...-baf0b24 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2020 License: MIT Imports: 3 Imported by: 0

README

Go & postgres

driver

go get github.com/lib/pq

create a db

CREATE DATABASE bookstore;

create user

CREATE USER bond WITH PASSWORD 'password';

grant privileges

GRANT ALL PRIVILEGES ON DATABASE bookstore to bond;

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