Tagged: postgresql
5 entriesStateDB: Finishing the reorganization and introducing a repository
Finishing the reorganization, introducing a repository, and letting the program continue after a failed item lookup.
StateDB: The first few days, Part A - Learning Go basics
Learning to build and run Go, declare variables, read configuration, and group settings in a struct.
StateDB: The first few days, Part B - Connecting to PostgreSQL
Making sense of pointers and contexts, connecting with pgxpool, and reading the results of a query.
StateDB: The first few days, Part C - More queries
Moving beyond reading rows: learning to insert, delete, and update data in PostgreSQL from Go.
StateDB: The first few days, Part D - Reorganizing the code and slices
Moving connection setup and queries into packages and functions, and returning data to main.