1. 首页
  2. 数据库
  3. 其它
  4. 一个用Go编写的SQL格式化程序 源码

一个用Go编写的SQL格式化程序 源码

上传者: 2021-01-31 09:01:01上传 ZIP文件 112.06KB 热度 10次
sqlfmt Description The sqlfmt formats PostgreSQL statements in .go files into a consistent style. Example Unformatted SQL in a .go file package main import ( "database/sql" ) func sendSQL() int { var id int var db *sql.DB db.QueryRow(` select xxx ,xxx ,xxx , case when xxx is null then xxx el
下载地址
用户评论