Refactor Package structure
This commit cleans up the package structure, to make two new top-level packages `internal` (for internal-use packages) and `pkg` (for general shared utility code).
This commit is contained in:
parent
487ce09979
commit
a360324f62
124 changed files with 97 additions and 101 deletions
39
pkg/sqle/name.go
Normal file
39
pkg/sqle/name.go
Normal file
File diff suppressed because one or more lines are too long
10
pkg/sqle/sqle.go
Normal file
10
pkg/sqle/sqle.go
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
package sqle
|
||||
|
||||
import (
|
||||
"github.com/feiin/sqlstring"
|
||||
)
|
||||
|
||||
// Format formats the provided query with the given parameters.
|
||||
func Format(query string, params ...interface{}) string {
|
||||
return sqlstring.Format(query, params...)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue