Building Web Server with Go - Part 9
· β˜• 8 min read
This is part 9 of 09 part series on building web server with go. Checkout for more. database Connecting to SQL database one of the common task for web applications. Let’s see how we can work with SQL databases in Go. database/sql Go standard library comes with database\sql package. This provides Generic interface around SQL database. For using any sql database with Go (see list here :, there are 2 packages required, Generic database/sql and database driver for SQL database we want to use.