13 lines
220 B
Go
13 lines
220 B
Go
package advsql
|
|
|
|
type globalStmt struct {
|
|
db *Database
|
|
query string
|
|
}
|
|
|
|
var globalStmts = []*globalStmt{}
|
|
|
|
func prepareGlobal(db *Database, query string) {
|
|
globalStmts = append(globalStmts, &globalStmt{db, query})
|
|
}
|