E-Learning
Tutorials
Practical tutorials for the work we actually do. Pick one, read it in order, and apply it.
Any topics
APIs and Integrations
7
Automation and Scripting
3
Concurrency
1
✓ Data and Formats
1
Data Structures and Algorithms
4
Databases
12
Deployment and Containers
12
Language Basics
1
Object-Oriented Programming
4
Packaging and Dependencies
10
Performance Optimization
3
Programming Basics
2
Programming Patterns
4
Security
3
Testing and Debugging
16
Type Systems
11
Web Development
13
Go
Run Safe SQL Transactions in Go With BeginTx and defer tx.Rollback
Level: Intermediate
Wrap multi-step SQL writes in db.BeginTx with defer tx.Rollback() and bound database connections with SetMaxOpenConns.
3 min read