Provide Query defaults for max/offset

This commit is contained in:
2024-01-17 23:50:59 -06:00
parent 1baca364b0
commit 5d2cb4f4c8

View File

@@ -28,7 +28,7 @@ type Query struct {
}
func NewQuery() *Query {
return &Query{}
return &Query{maxResults: 10, offset: 0}
}
// Subject sets the subject for the query