feat: added a struct for table
This commit is contained in:
@@ -16,6 +16,7 @@ func Run() {
|
||||
|
||||
inputBuffer := NewInputBuffer()
|
||||
statement := NewStatement()
|
||||
table := NewTable()
|
||||
for {
|
||||
PrintConsole()
|
||||
inputBuffer.ReadConsole()
|
||||
@@ -37,7 +38,7 @@ func Run() {
|
||||
continue
|
||||
}
|
||||
|
||||
statement.ExecuteStatement()
|
||||
statement.ExecuteStatement(table)
|
||||
fmt.Println("Executed")
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user