Skip to content

Commit

Permalink
Merge branch 'v1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
OS-M committed Jan 16, 2023
2 parents 2727ac4 + 02a4d7d commit efe40bf
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion api/proto/buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: v1
managed:
enabled: true
go_package_prefix:
default: github.com/proxima-one/streamdb-client-go/api/proto/gen/proto/go
default: github.com/proxima-one/streamdb-client-go/v2/api/proto/gen/proto/go
except:
- buf.build/googleapis/googleapis
plugins:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions cmd/dev/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"fmt"
"github.com/davecgh/go-spew/spew"
"github.com/proxima-one/streamdb-client-go/pkg/connection"
"github.com/proxima-one/streamdb-client-go/pkg/proximaclient"
"github.com/proxima-one/streamdb-client-go/v2/pkg/connection"
"github.com/proxima-one/streamdb-client-go/v2/pkg/proximaclient"
"time"
)

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/proxima-one/streamdb-client-go
module github.com/proxima-one/streamdb-client-go/v2

go 1.18

Expand Down
4 changes: 2 additions & 2 deletions pkg/proximaclient/client_stream_db_consumer_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"crypto/tls"
"fmt"
streamConsumer "github.com/proxima-one/streamdb-client-go/api/proto/gen/proto/go/stream_consumer/v1alpha1"
"github.com/proxima-one/streamdb-client-go/internal"
streamConsumer "github.com/proxima-one/streamdb-client-go/v2/api/proto/gen/proto/go/stream_consumer/v1alpha1"
"github.com/proxima-one/streamdb-client-go/v2/internal"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials"
"google.golang.org/grpc/credentials/insecure"
Expand Down
2 changes: 1 addition & 1 deletion pkg/proximaclient/client_stream_registy_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"
http "github.com/hashicorp/go-retryablehttp"
"github.com/proxima-one/streamdb-client-go/pkg/connection"
"github.com/proxima-one/streamdb-client-go/v2/pkg/connection"
"io"
"math"
"math/rand"
Expand Down
4 changes: 2 additions & 2 deletions pkg/proximaclient/model_converters.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package proximaclient

import (
pbModel "github.com/proxima-one/streamdb-client-go/api/proto/gen/proto/go/model/v1"
pbConsumerModel "github.com/proxima-one/streamdb-client-go/api/proto/gen/proto/go/stream_consumer/v1alpha1"
pbModel "github.com/proxima-one/streamdb-client-go/v2/api/proto/gen/proto/go/model/v1"
pbConsumerModel "github.com/proxima-one/streamdb-client-go/v2/api/proto/gen/proto/go/stream_consumer/v1alpha1"
)

func protoStateTransitionToStreamEvent(transition *pbModel.StateTransition) StreamEvent {
Expand Down
2 changes: 1 addition & 1 deletion pkg/proximaclient/model_offset.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package proximaclient

import (
"fmt"
"github.com/proxima-one/streamdb-client-go/internal"
"github.com/proxima-one/streamdb-client-go/v2/internal"
"strings"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/proximaclient/model_timestamp.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package proximaclient
import (
"encoding/base64"
"fmt"
"github.com/proxima-one/streamdb-client-go/internal"
"github.com/proxima-one/streamdb-client-go/v2/internal"
"strconv"
"strings"
"time"
Expand Down

0 comments on commit efe40bf

Please sign in to comment.