Skip to content

Commit aee13d3

Browse files
Updated README.md
1 parent ad888f0 commit aee13d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A simple template engine for writing dynamic SQL queries.
1010

1111
Sometimes it can be hard to write comprehensible SQL queries with tools like SQL builders ([squirrel](https://github.com/Masterminds/squirrel)
1212
or [dbr](https://github.com/gocraft/dbr)), specially dynamic queries with optional statements and joins.
13-
It's hard to see the overall cohesive structure of the queries, and the primary goal.
13+
It can be hard to see the overall cohesive structure of the queries, and the primary goal.
1414

1515
The main motivation of this library is to separate the SQL queries from the Go code, and to improve the readability of complex dynamic queries.
1616

@@ -26,12 +26,12 @@ go get github.com/NicklasWallgren/sqlTemplate
2626
We support the two major Go versions, which are 1.17 and 1.18 at the moment.
2727

2828
# Features and benefits
29-
- Separates SQL och Go code.
29+
- Separates SQL and Go code.
3030
- Keeps the templated query as close as possible to the actual SQL query.
3131
- Extensible template language with support for https://github.com/Masterminds/sprig
3232
- No third party dependencies
3333

34-
# SDK
34+
# API
3535
```go
3636
// Parse parses a sql template and returns the 'QueryTemplate'
3737
Parse(namespace string, templateName string) (QueryTemplate, error)

0 commit comments

Comments
 (0)