Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename to gel #331

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# The Go driver for Gel

[![Build Status](https://github.com/edgedb/edgedb-go/workflows/Tests/badge.svg?event=push&branch=master)](https://github.com/edgedb/edgedb-go/actions)
[![Build Status](https://github.com/geldata/gel-go/workflows/Tests/badge.svg?event=push&branch=master)](https://github.com/geldata/gel-go/actions)
[![Join GitHub discussions](https://img.shields.io/badge/join-github%20discussions-green)](https://github.com/edgedb/edgedb/discussions)

## Installation

In your module directory, run the following command.

```bash
$ go get github.com/edgedb/edgedb-go
$ go get github.com/geldata/gel-go
```

## Basic Usage
Expand All @@ -24,7 +24,7 @@ import (
"fmt"
"log"

"github.com/edgedb/edgedb-go"
"github.com/geldata/gel-go"
)

func main() {
Expand Down Expand Up @@ -56,4 +56,4 @@ To run lints `make lint`.

## License

edgedb-go is developed and distributed under the Apache 2.0 license.
gel-go is developed and distributed under the Apache 2.0 license.
2 changes: 1 addition & 1 deletion cmd/edgeql-go/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
//
// # Install
//
// go install github.com/edgedb/edgedb-go/cmd/edgeql-go@latest
// go install github.com/geldata/gel-go/cmd/edgeql-go@latest
//
// See also [pinning tool dependencies].
//
Expand Down
2 changes: 1 addition & 1 deletion cmd/edgeql-go/endtoend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"sync"
"testing"

gel "github.com/edgedb/edgedb-go/internal/client"
gel "github.com/geldata/gel-go/internal/client"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/edgeql-go/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"fmt"
"strings"

"github.com/edgedb/edgedb-go/internal/codecs"
"github.com/edgedb/edgedb-go/internal/descriptor"
"github.com/geldata/gel-go/internal/codecs"
"github.com/geldata/gel-go/internal/descriptor"
)

func generateType(
Expand Down
4 changes: 2 additions & 2 deletions cmd/edgeql-go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ import (
"text/template"
"time"

gel "github.com/edgedb/edgedb-go/internal/client"
"github.com/edgedb/edgedb-go/internal/descriptor"
gel "github.com/geldata/gel-go/internal/client"
"github.com/geldata/gel-go/internal/descriptor"
toml "github.com/pelletier/go-toml/v2"
"golang.org/x/text/cases"
"golang.org/x/text/language"
Expand Down
8 changes: 4 additions & 4 deletions cmd/edgeql-go/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ import (
"path/filepath"
"strings"

"github.com/edgedb/edgedb-go/internal"
gel "github.com/edgedb/edgedb-go/internal/client"
"github.com/edgedb/edgedb-go/internal/descriptor"
"github.com/edgedb/edgedb-go/internal/geltypes"
"github.com/geldata/gel-go/internal"
gel "github.com/geldata/gel-go/internal/client"
"github.com/geldata/gel-go/internal/descriptor"
"github.com/geldata/gel-go/internal/geltypes"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/edgeql-go/templates/file.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

package {{.PackageName}}

Expand All @@ -9,7 +9,7 @@ import (
{{- end}}
_ "embed"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)
{{range .Queries}}
{{template "query.template" .}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The plan is to update dependencies in test projects (from cmd/edgeql-go/testdata/mixedcaps/test-project1/go.mod) after getting a new repo, do I get it right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea the plan is to not merge this until we have the new repo.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. I will also have to update the go.mod & go.sum files. That is currently a pain to do so I'll wait until the new repo is set up and I can make the tests pass.

package main

import (
"context"
_ "embed"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)

//go:embed select_scalar.edgeql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

package argnames

import (
"context"
_ "embed"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)

//go:embed query_one.edgeql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

package object

import (
"context"
_ "embed"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)

//go:embed select_link_prop.edgeql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

package object

import (
"context"
_ "embed"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)

//go:embed select_object.edgeql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

package object

import (
"context"
_ "embed"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)

//go:embed select_objects.edgeql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

package scalar

import (
"context"
_ "embed"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)

//go:embed select_array.edgeql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

package scalar

import (
"context"
_ "embed"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)

//go:embed select_scalar.edgeql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

package scalar

import (
"context"
_ "embed"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)

//go:embed select_scalars.edgeql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

package tuple

import (
"context"
_ "embed"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)

//go:embed select_tuple.edgeql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

package when_no_go_files_in_dir_dir_name_becomes_package_name

Expand All @@ -7,7 +7,7 @@ import (
_ "embed"
"time"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)

//go:embed select_args.edgeql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

package zzz

Expand All @@ -8,7 +8,7 @@ import (
"math/big"
"time"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)

//go:embed my_query.edgeql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

package main

import (
"context"
_ "embed"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)

//go:embed select_scalar.edgeql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

package main

import (
"context"
_ "embed"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)

//go:embed select_scalar.edgeql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

package argnames

import (
"context"
_ "embed"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)

//go:embed query_one.edgeql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

package object

import (
"context"
_ "embed"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)

//go:embed select_link_prop.edgeql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

package object

import (
"context"
_ "embed"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)

//go:embed select_object.edgeql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

package object

import (
"context"
_ "embed"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)

//go:embed select_objects.edgeql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

package scalar

import (
"context"
_ "embed"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)

//go:embed select_array.edgeql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Code generated by github.com/edgedb/edgedb-go/cmd/edgeql-go DO NOT EDIT.
// Code generated by github.com/geldata/gel-go/cmd/edgeql-go DO NOT EDIT.

package scalar

import (
"context"
_ "embed"

gel "github.com/edgedb/edgedb-go"
gel "github.com/geldata/gel-go"
)

//go:embed select_scalar.edgeql
Expand Down
Loading
Loading