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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# go-cql2

[![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)
[![GoDoc](https://godoc.org/github.com/robert-malhotra/go-cql2/cql2text?status.svg)](https://godoc.org/github.com/robert-malhotra/go-cql2/cql2text)

`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.
Expand Down
2 changes: 1 addition & 1 deletion parser/ast_boolean.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package text
package cql2text

// Expression is the root node of the CQL2 grammar
type Expression struct {
Expand Down
2 changes: 1 addition & 1 deletion parser/ast_predicate.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package text
package cql2text

// Predicate represents any comparison or operation that returns boolean
type Predicate struct {
Expand Down
2 changes: 1 addition & 1 deletion parser/ast_scalar.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package text
package cql2text

// ScalarExpression represents any value expression
type ScalarExpression struct {
Expand Down
2 changes: 1 addition & 1 deletion parser/convert_boolean.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package text
package cql2text

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion parser/convert_predicate.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package text
package cql2text

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion parser/convert_scalar.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package text
package cql2text

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion parser/errors.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package text
package cql2text

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion parser/lexer.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package text
package cql2text

import "github.com/alecthomas/participle/v2/lexer"

Expand Down
2 changes: 1 addition & 1 deletion parser/parser.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package text
package cql2text

import (
"strings"
Expand Down
2 changes: 1 addition & 1 deletion parser/parser_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package text
package cql2text

import (
"encoding/json"
Expand Down