clarify NewQuery

This commit is contained in:
Aneurin Barker Snook
2023-10-08 16:22:44 +01:00
parent 6fe69d65ea
commit a3decd74c2
+1 -1
View File
@@ -68,7 +68,7 @@ func (query *Query) String() string {
return strings.Join(query.Lines, "\n") return strings.Join(query.Lines, "\n")
} }
// NewQuery creates a new Query. // NewQuery creates a new, empty Query.
func NewQuery() *Query { func NewQuery() *Query {
return &Query{ return &Query{
Lines: []string{}, Lines: []string{},