Skip to content

Commit

Permalink
code-slides: add bash script with go get
Browse files Browse the repository at this point in the history
in the july 2023 workshop some attendees were confused on how to
import a go database driver. This will show how to do that.

Signed-off-by: soypete <[email protected]>
  • Loading branch information
Soypete committed Oct 5, 2023
1 parent e8567db commit 5bb610f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code-slides/day-2-databases/go-import.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!bin/bash
# This script will show you how to
# get the go package from github

go mod init github.com/{username}/repo
go get "github.com/mattn/go-sqlite3"
go mod tidy

0 comments on commit 5bb610f

Please sign in to comment.