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
felixhao dbdfe47e5b Merge remote-tracking branch 'origin/master' 6 years ago
..
README.md Merge remote-tracking branch 'origin/master' 6 years ago
mysql.go Merge remote-tracking branch 'origin/master' 6 years ago
sql.go Merge remote-tracking branch 'origin/master' 6 years ago

README.md

database/sql

项目简介

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

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

依赖包
  1. Go-MySQL-Driver