package
0.0.0-20230225110349-988b5a29a29c
Repository: https://github.com/tannergabriel/learning-go.git
Documentation: pkg.go.dev
# README
Postgres CRUD
This is an example project that shows the basics of working with the PostgresSQL database in golang. Go provides an abstract datalayer using the database/sql standard library.
Prerequisites
- Local Postgres instance
- Valid Golang installation
Getting started
First you need to install the Postgres Go drivers.
go get -u github.com/lib/pq
You can then start the application using go run.
go run postgres.go