Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# go-cql-text
# go-cql2

[![Go Report Card](https://goreportcard.com/badge/github.com/robert-malhotra/go-cql-text)](https://goreportcard.com/report/github.com/robert-malhotra/go-cql-text)
[![GoDoc](https://godoc.org/github.com/robert-malhotra/go-cql-text/text?status.svg)](https://godoc.org/github.com/robert-malhotra/go-cql-text/text)
[![Go Report Card](https://goreportcard.com/badge/github.com/robert-malhotra/go-cql2)](https://goreportcard.com/report/github.com/robert-malhotra/go-cql2)
[![GoDoc](https://godoc.org/github.com/robert-malhotra/go-cql2/text?status.svg)](https://godoc.org/github.com/robert-malhotra/go-cql2/text)

`go-cql-text` is a Go library that parses [CQL2 (Common Query Language) text expressions](https://www.ogc.org/standards/cql2/) into the same Abstract Syntax Tree (AST) used by [`go-ogc`](https://github.com/planetlabs/go-ogc).
`go-cql2` is a Go library that parses [CQL2 (Common Query Language) text expressions](https://www.ogc.org/standards/cql2/) into the same Abstract Syntax Tree (AST) used by [`go-ogc`](https://github.com/planetlabs/go-ogc).
This allows seamless handling of both CQL2 JSON and CQL2 text in Go.

## Features
Expand All @@ -23,7 +23,7 @@ This allows seamless handling of both CQL2 JSON and CQL2 text in Go.

## Builder Helpers

The `builder` subpackage (`github.com/robert-malhotra/go-cql-text/builder`) offers
The `builder` subpackage (`github.com/robert-malhotra/go-cql2/builder`) offers
generics-based constructors that make it easy to assemble the
[`go-ogc/filter`](https://github.com/planetlabs/go-ogc/tree/main/filter) AST without
manually instantiating nodes or performing type assertions.
Expand All @@ -42,7 +42,7 @@ import (
"time"

"github.com/planetlabs/go-ogc/filter"
cql "github.com/robert-malhotra/go-cql-text/builder"
cql "github.com/robert-malhotra/go-cql2/builder"
)

func buildFilter() *filter.Filter {
Expand Down
2 changes: 1 addition & 1 deletion builder/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

cql "github.com/robert-malhotra/go-cql-text/builder"
cql "github.com/robert-malhotra/go-cql2/builder"
)

// ---------- helpers ----------
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/robert-malhotra/go-cql-text
module github.com/robert-malhotra/go-cql2

go 1.23.4

Expand Down