Demo repository for article on SQL database access in Go.
Clone the repository
git clone https://github.com/woojiahao/go-database-access.git
cd go-database-access/
Build the project
go build
Create a new database in PostgreSQL named "gda" and setup the database
./gda setup
Run code examples
./gda example [connect|single|multi|parameterised|null|insert|transaction|struct|return|prepared|conn|timeout]