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).
10 lines
223 B
Go
10 lines
223 B
Go
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...)
|
|
}
|