cleanup and error printing
This commit is contained in:
@@ -11,12 +11,11 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
s := `
|
||||
CREATE TABLE TEST(
|
||||
ID text PRIMARY KEY
|
||||
);
|
||||
s := `CREATE TABLE TEST(
|
||||
ID text PRIMARY KEY
|
||||
);
|
||||
|
||||
CREATE TABLE sessions (
|
||||
CREATE TABLE sessions (
|
||||
session_id text PRIMARY KEY,
|
||||
access_token text NOT NULL,
|
||||
user_email text NOT NULL,
|
||||
@@ -62,7 +61,7 @@ CREATE TABLE IF NOT EXISTS auth_states (
|
||||
code_verifier text NOT NULL
|
||||
);
|
||||
`
|
||||
|
||||
|
||||
parser := sql.NewParser(strings.NewReader(s))
|
||||
|
||||
for {
|
||||
|
||||
Reference in New Issue
Block a user