Skip to content

Demo repository for article on SQL database access in Go

License

Notifications You must be signed in to change notification settings

woojiahao/go-database-access

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-database-access

Demo repository for article on SQL database access in Go.

Installation

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

Usage

Run code examples

./gda example [connect|single|multi|parameterised|null|insert|transaction|struct|return|prepared|conn|timeout]

About

Demo repository for article on SQL database access in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published