Skip to content

Commit

Permalink
Merge pull request #7 from sschonss/lower-case
Browse files Browse the repository at this point in the history
Adicionada conversão para minúsculas nas consultas do banco de dados
  • Loading branch information
sschonss authored Mar 5, 2024
2 parents 2f2e31b + 4cc934d commit 4b141d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions database/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ type Database struct {
}

func (Database) ExecuteQuery(query string) string {
query = strings.ToLower(query)
command := strings.Fields(query)[0]
switch strings.ToLower(command) {
case "clear":
Expand Down
Binary file added veritas
Binary file not shown.

0 comments on commit 4b141d2

Please sign in to comment.