Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Latest commit

 

History

History
17 lines (14 loc) · 782 Bytes

index.md

File metadata and controls

17 lines (14 loc) · 782 Bytes
layout title
article
Go database/sql tutorial

The idiomatic way to use a SQL, or SQL-like, database in Go is through the database/sql package. It provides a lightweight interface to a row-oriented database. This website is a reference for the most common aspects of how to use it.

Why is this needed? The package's documentation tells you what everything does, but it doesn't tell you how to use the package. Many of us find ourselves wishing for a quick-reference and a "getting started" orientation that tells stories instead of listing facts. Contributions are welcome; please send pull requests here.

Start: Overview of Go's database/sql Package