Skip to content

Commit

Permalink
Change imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkleeman committed Jul 4, 2024
1 parent 86f6ca7 commit a5eab38
Show file tree
Hide file tree
Showing 17 changed files with 32 additions and 32 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Go Reference](https://pkg.go.dev/badge/github.com/muhamadazmy/restate-sdk-go.svg)](https://pkg.go.dev/github.com/muhamadazmy/restate-sdk-go)
[![Go](https://github.com/muhamadazmy/restate-sdk-go/actions/workflows/test.yaml/badge.svg)](https://github.com/muhamadazmy/restate-sdk-go/actions/workflows/test.yaml)
[![Go Reference](https://pkg.go.dev/badge/github.com/restatedev/restate-sdk-go.svg)](https://pkg.go.dev/github.com/restatedev/restate-sdk-go)
[![Go](https://github.com/restatedev/restate-sdk-go/actions/workflows/test.yaml/badge.svg)](https://github.com/restatedev/restate-sdk-go/actions/workflows/test.yaml)

> This only works with Restate version 0.8
Expand Down
2 changes: 1 addition & 1 deletion 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/muhamadazmy/restate-sdk-go/generated
default: github.com/restatedev/restate-sdk-go/generated
plugins:
- plugin: go
out: generated
Expand Down
2 changes: 1 addition & 1 deletion example/checkout.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/google/uuid"
"github.com/muhamadazmy/restate-sdk-go"
"github.com/restatedev/restate-sdk-go"
"github.com/rs/zerolog/log"
)

Expand Down
2 changes: 1 addition & 1 deletion example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"os"

"github.com/muhamadazmy/restate-sdk-go/server"
"github.com/restatedev/restate-sdk-go/server"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
)
Expand Down
2 changes: 1 addition & 1 deletion example/ticket_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"errors"

"github.com/muhamadazmy/restate-sdk-go"
"github.com/restatedev/restate-sdk-go"
"github.com/rs/zerolog/log"
)

Expand Down
2 changes: 1 addition & 1 deletion example/user_session.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"slices"
"time"

"github.com/muhamadazmy/restate-sdk-go"
"github.com/restatedev/restate-sdk-go"
"github.com/rs/zerolog/log"
)

Expand Down
2 changes: 1 addition & 1 deletion generated/proto/dynrpc/dynrpc.pb.go

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

2 changes: 1 addition & 1 deletion generated/proto/javascript/javascript.pb.go

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

2 changes: 1 addition & 1 deletion generated/proto/services/services.pb.go

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

4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/muhamadazmy/restate-sdk-go
module github.com/restatedev/restate-sdk-go

go 1.22.0

Expand All @@ -24,4 +24,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace github.com/muhamadazmy/restate-sdk-go/generated/dev/restate => ./generated/dev/restate
replace github.com/restatedev/restate-sdk-go/generated/dev/restate => ./generated/dev/restate
2 changes: 1 addition & 1 deletion handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"reflect"

"github.com/muhamadazmy/restate-sdk-go/generated/proto/dynrpc"
"github.com/restatedev/restate-sdk-go/generated/proto/dynrpc"
"google.golang.org/protobuf/types/known/structpb"
)

Expand Down
8 changes: 4 additions & 4 deletions internal/state/call.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"fmt"
"time"

"github.com/muhamadazmy/restate-sdk-go"
"github.com/muhamadazmy/restate-sdk-go/generated/proto/dynrpc"
"github.com/muhamadazmy/restate-sdk-go/generated/proto/protocol"
"github.com/muhamadazmy/restate-sdk-go/internal/wire"
"github.com/restatedev/restate-sdk-go"
"github.com/restatedev/restate-sdk-go/generated/proto/dynrpc"
"github.com/restatedev/restate-sdk-go/generated/proto/protocol"
"github.com/restatedev/restate-sdk-go/internal/wire"
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/types/known/structpb"
)
Expand Down
8 changes: 4 additions & 4 deletions internal/state/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"time"

"github.com/cenkalti/backoff/v4"
"github.com/muhamadazmy/restate-sdk-go"
"github.com/muhamadazmy/restate-sdk-go/generated/proto/dynrpc"
"github.com/muhamadazmy/restate-sdk-go/generated/proto/protocol"
"github.com/muhamadazmy/restate-sdk-go/internal/wire"
"github.com/restatedev/restate-sdk-go"
"github.com/restatedev/restate-sdk-go/generated/proto/dynrpc"
"github.com/restatedev/restate-sdk-go/generated/proto/protocol"
"github.com/restatedev/restate-sdk-go/internal/wire"

"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
Expand Down
8 changes: 4 additions & 4 deletions internal/state/sys.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"time"

"github.com/cenkalti/backoff/v4"
"github.com/muhamadazmy/restate-sdk-go"
"github.com/muhamadazmy/restate-sdk-go/generated/proto/javascript"
"github.com/muhamadazmy/restate-sdk-go/generated/proto/protocol"
"github.com/muhamadazmy/restate-sdk-go/internal/wire"
"github.com/restatedev/restate-sdk-go"
"github.com/restatedev/restate-sdk-go/generated/proto/javascript"
"github.com/restatedev/restate-sdk-go/generated/proto/protocol"
"github.com/restatedev/restate-sdk-go/internal/wire"
"google.golang.org/protobuf/proto"
)

Expand Down
4 changes: 2 additions & 2 deletions internal/wire/wire.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"io"
"math"

"github.com/muhamadazmy/restate-sdk-go/generated/proto/javascript"
"github.com/muhamadazmy/restate-sdk-go/generated/proto/protocol"
"github.com/restatedev/restate-sdk-go/generated/proto/javascript"
"github.com/restatedev/restate-sdk-go/generated/proto/protocol"
"github.com/rs/zerolog/log"
"google.golang.org/protobuf/proto"
)
Expand Down
2 changes: 1 addition & 1 deletion router.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"time"

"github.com/cenkalti/backoff/v4"
"github.com/muhamadazmy/restate-sdk-go/generated/proto/dynrpc"
"github.com/restatedev/restate-sdk-go/generated/proto/dynrpc"
"github.com/vmihailenco/msgpack/v5"
)

Expand Down
8 changes: 4 additions & 4 deletions server/restate.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (
"net/http"
"strings"

"github.com/muhamadazmy/restate-sdk-go"
"github.com/muhamadazmy/restate-sdk-go/generated/proto/discovery"
"github.com/muhamadazmy/restate-sdk-go/internal"
"github.com/muhamadazmy/restate-sdk-go/internal/state"
"github.com/posener/h2conn"
"github.com/restatedev/restate-sdk-go"
"github.com/restatedev/restate-sdk-go/generated/proto/discovery"
"github.com/restatedev/restate-sdk-go/internal"
"github.com/restatedev/restate-sdk-go/internal/state"
"github.com/rs/zerolog/log"
"golang.org/x/net/http2"
"google.golang.org/protobuf/proto"
Expand Down

0 comments on commit a5eab38

Please sign in to comment.