You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
kratos/pkg/database/sql
wei cheng 02250991aa
fix parse mysql dsn addr
5 years ago
..
README.md Merge remote-tracking branch 'origin/master' 6 years ago
metrics.go user new prometheus. 6 years ago
mysql.go 1. delete database/sql changelog file. 5 years ago
sql.go fix parse mysql dsn addr 5 years ago
sql_test.go fix parse mysql dsn addr 5 years ago

README.md

database/sql

项目简介

MySQL数据库驱动,进行封装加入了链路追踪和统计。

如果需要SQL级别的超时管理 可以在业务代码里面使用context.WithDeadline实现 推荐超时配置放到application.toml里面 方便热加载

依赖包
  1. Go-MySQL-Driver