From 04f353e9997fc9f045e2d6be02cd5cd706473967 Mon Sep 17 00:00:00 2001 From: hulk Date: Fri, 6 Sep 2024 13:40:29 +0800 Subject: [PATCH] Fix README (#98) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3f212f6..0143017 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ import ( query := "SELECT * FROM clickhouse" parser := clickhouse.NewParser(query) // Parse query into AST -statements, err := parser.ParseStatements() +statements, err := parser.ParseStmts() if err != nil { return nil, err } @@ -48,7 +48,7 @@ $ clickhouse-sql-parser -file ./test.sql ```Go parser := clickhouse.NewParser("SELECT * FROM clickhouse") // Parse query into AST -statements, err := parser.ParseStatements() +statements, err := parser.ParseStmts() if err != nil { return nil, err }