Skip to content

ashik-info/sqlc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQLc

This repository contains the code and examples used on the Dreams of Code video about SQLc

https://youtu.be/VX6KzpjaPp8

Amendments

Below contains any amendments to the video

Importing

One thing I glossed over in the video is that you'll need to import the generated repository package following the codegen. This should be familiar to experienced Go devs but might not to beginners.

About

Working with a database in Go, that often make use of the Repository Design Pattern, which wraps the queries into type safe functions. Whilst this is my preferred approach, it does take a lot of time as it's mostly tedious to do. Fortunately, SQLc which solves this, and many other problems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 100.0%