---
# System prepended metadata

title: database
tags: [Go]

---

# database

## mysql
https://easonwang.gitbook.io/golang/databasecao-zuo/mysql
## 封裝db -> repository
https://blog.canopas.com/approach-to-avoid-accessing-variables-globally-in-golang-2019b234762

# postgres

https://github.com/lib/pq

###### tags: `Go`