Skip to content

Commit

Permalink
Support new OctoSQL plugin versioning.
Browse files Browse the repository at this point in the history
  • Loading branch information
cube2222 committed Dec 19, 2021
1 parent f6b2661 commit 9b8b2f3
Show file tree
Hide file tree
Showing 4 changed files with 504 additions and 6 deletions.
4 changes: 2 additions & 2 deletions database.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
_ "github.com/jackc/pgx/stdlib"

"github.com/cube2222/octosql/physical"
"github.com/cube2222/octosql/plugins/plugin"
"github.com/cube2222/octosql/plugins"
)

var tableInternalNames = map[string]string{
Expand All @@ -21,7 +21,7 @@ var tableInternalNames = map[string]string{
"users": "users/random_user",
}

func Creator(ctx context.Context, configUntyped plugin.ConfigDecoder) (physical.Database, error) {
func Creator(ctx context.Context, configUntyped plugins.ConfigDecoder) (physical.Database, error) {
return &Database{}, nil
}

Expand Down
23 changes: 21 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,27 +1,46 @@
module github.com/cube2222/octosql-plugin-random_data

require (
github.com/cube2222/octosql v0.3.1-0.20211211163254-02606a8a60a6
github.com/cube2222/octosql v0.3.1-0.20211219175504-e5ae8e33fb92
github.com/davecgh/go-spew v1.1.1
github.com/jackc/pgx v3.6.2+incompatible
)

require (
github.com/Masterminds/semver v1.5.0 // indirect
github.com/awalterschulze/gographviz v2.0.3+incompatible // indirect
github.com/cespare/xxhash v1.1.0 // indirect
github.com/dgraph-io/ristretto v0.0.3 // indirect
github.com/dsnet/compress v0.0.1 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/btree v1.0.0 // indirect
github.com/gosuri/uilive v0.0.4 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mattn/go-isatty v0.0.12 // indirect
github.com/mattn/go-runewidth v0.0.7 // indirect
github.com/mholt/archiver v3.1.1+incompatible // indirect
github.com/mitchellh/go-homedir v1.0.0 // indirect
github.com/nwaples/rardecode v1.1.2 // indirect
github.com/oklog/ulid/v2 v2.0.2 // indirect
github.com/olekukonko/tablewriter v0.0.4 // indirect
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/segmentio/encoding v0.2.7 // indirect
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 // indirect
github.com/spf13/cobra v1.2.1 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/ulikunitz/xz v0.5.10 // indirect
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad // indirect
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 // indirect
golang.org/x/sys v0.0.0-20211113001501-0c823b97ae02 // indirect
golang.org/x/text v0.3.7 // indirect
google.golang.org/genproto v0.0.0-20211112145013-271947fe86fd // indirect
google.golang.org/grpc v1.42.0 // indirect
google.golang.org/protobuf v1.27.1 // indirect
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)

go 1.17
Loading

0 comments on commit 9b8b2f3

Please sign in to comment.