Skip to content

Commit ebada7f

Browse files
committed
Mark Go packages with v3 prefix for release tags.
1 parent 1f1e4d3 commit ebada7f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+78
-64
lines changed

apigrpc/apigrpc.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apigrpc/apigrpc.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import "google/protobuf/empty.proto";
2424
import "protoc-gen-openapiv2/options/annotations.proto";
2525
import "github.com/heroiclabs/nakama-common/api/api.proto";
2626

27-
option go_package = "github.com/heroiclabs/nakama/v2/apigrpc";
27+
option go_package = "github.com/heroiclabs/nakama/v3/apigrpc";
2828

2929
option java_multiple_files = true;
3030
option java_outer_classname = "NakamaApiGrpc";

console/console.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

console/console.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto";
2727
import "google/protobuf/wrappers.proto";
2828
import "protoc-gen-openapiv2/options/annotations.proto";
2929

30-
option go_package = "github.com/heroiclabs/nakama/v2/console";
30+
option go_package = "github.com/heroiclabs/nakama/v3/console";
3131

3232
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
3333
info: {

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/heroiclabs/nakama/v2
1+
module github.com/heroiclabs/nakama/v3
22

33
go 1.13
44

internal/cronexpr/cronexpr/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"os"
1919
"time"
2020

21-
"github.com/heroiclabs/nakama/v2/internal/cronexpr"
21+
"github.com/heroiclabs/nakama/v3/internal/cronexpr"
2222
)
2323

2424
/******************************************************************************/

internal/gopher-lua/_state.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package lua
33
import (
44
"context"
55
"fmt"
6-
"github.com/heroiclabs/nakama/v2/internal/gopher-lua/parse"
6+
"github.com/heroiclabs/nakama/v3/internal/gopher-lua/parse"
77
"io"
88
"math"
99
"os"

internal/gopher-lua/compile.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package lua
22

33
import (
44
"fmt"
5-
"github.com/heroiclabs/nakama/v2/internal/gopher-lua/ast"
5+
"github.com/heroiclabs/nakama/v3/internal/gopher-lua/ast"
66
"math"
77
"reflect"
88
)

internal/gopher-lua/parse/lexer.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"bufio"
55
"bytes"
66
"fmt"
7-
"github.com/heroiclabs/nakama/v2/internal/gopher-lua/ast"
7+
"github.com/heroiclabs/nakama/v3/internal/gopher-lua/ast"
88
"io"
99
"reflect"
1010
"strconv"

internal/gopher-lua/parse/parser.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import __yyfmt__ "fmt"
55

66
//line parser.go.y:2
77
import (
8-
"github.com/heroiclabs/nakama/v2/internal/gopher-lua/ast"
8+
"github.com/heroiclabs/nakama/v3/internal/gopher-lua/ast"
99
)
1010

1111
//line parser.go.y:34

internal/gopher-lua/parse/parser.go.y

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
package parse
33

44
import (
5-
"github.com/heroiclabs/nakama/v2/internal/gopher-lua/ast"
5+
"github.com/heroiclabs/nakama/v3/internal/gopher-lua/ast"
66
)
77
%}
88
%type<stmts> chunk

internal/gopher-lua/script_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package lua
22

33
import (
44
"fmt"
5-
"github.com/heroiclabs/nakama/v2/internal/gopher-lua/parse"
5+
"github.com/heroiclabs/nakama/v3/internal/gopher-lua/parse"
66
"os"
77
"runtime"
88
"sync/atomic"

internal/gopher-lua/state.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ package lua
77
import (
88
"context"
99
"fmt"
10-
"github.com/heroiclabs/nakama/v2/internal/gopher-lua/parse"
10+
"github.com/heroiclabs/nakama/v3/internal/gopher-lua/parse"
1111
"io"
1212
"math"
1313
"os"

internal/gopher-lua/stringlib.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"strings"
66

7-
"github.com/heroiclabs/nakama/v2/internal/gopher-lua/pm"
7+
"github.com/heroiclabs/nakama/v3/internal/gopher-lua/pm"
88
)
99

1010
const emptyLString LString = LString("")

main.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ import (
3434

3535
"github.com/gofrs/uuid"
3636
"github.com/golang/protobuf/jsonpb"
37-
"github.com/heroiclabs/nakama/v2/ga"
38-
"github.com/heroiclabs/nakama/v2/migrate"
39-
"github.com/heroiclabs/nakama/v2/server"
40-
"github.com/heroiclabs/nakama/v2/social"
37+
"github.com/heroiclabs/nakama/v3/ga"
38+
"github.com/heroiclabs/nakama/v3/migrate"
39+
"github.com/heroiclabs/nakama/v3/server"
40+
"github.com/heroiclabs/nakama/v3/social"
4141
_ "github.com/jackc/pgx/stdlib"
4242
"go.uber.org/zap"
4343
"go.uber.org/zap/zapcore"

migrate/migrate.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"time"
2626

2727
"github.com/gobuffalo/packr"
28-
"github.com/heroiclabs/nakama/v2/server"
28+
"github.com/heroiclabs/nakama/v3/server"
2929
"github.com/jackc/pgx"
3030
_ "github.com/jackc/pgx/stdlib" // Blank import to register SQL driver
3131
"github.com/rubenv/sql-migrate"

server/api.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ import (
4343
"github.com/gorilla/handlers"
4444
"github.com/gorilla/mux"
4545
grpcgw "github.com/grpc-ecosystem/grpc-gateway/v2/runtime"
46-
"github.com/heroiclabs/nakama/v2/apigrpc"
47-
"github.com/heroiclabs/nakama/v2/social"
46+
"github.com/heroiclabs/nakama/v3/apigrpc"
47+
"github.com/heroiclabs/nakama/v3/social"
4848
"go.uber.org/zap"
4949
"google.golang.org/grpc"
5050
"google.golang.org/grpc/codes"

server/api_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"github.com/golang/protobuf/jsonpb"
2525
"github.com/heroiclabs/nakama-common/api"
2626
"github.com/heroiclabs/nakama-common/rtapi"
27-
"github.com/heroiclabs/nakama/v2/apigrpc"
27+
"github.com/heroiclabs/nakama/v3/apigrpc"
2828
_ "github.com/jackc/pgx/stdlib"
2929
"go.uber.org/zap"
3030
"go.uber.org/zap/zapcore"

server/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"flag"
2525
"io/ioutil"
2626

27-
"github.com/heroiclabs/nakama/v2/flags"
27+
"github.com/heroiclabs/nakama/v3/flags"
2828

2929
"crypto/tls"
3030

server/console.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import (
4040
"google.golang.org/grpc/metadata"
4141
"google.golang.org/grpc/status"
4242

43-
"github.com/heroiclabs/nakama/v2/console"
43+
"github.com/heroiclabs/nakama/v3/console"
4444
)
4545

4646
var restrictedMethods = map[string]console.UserRole{

server/console_account.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import (
3535
"google.golang.org/grpc/codes"
3636
"google.golang.org/grpc/status"
3737

38-
"github.com/heroiclabs/nakama/v2/console"
38+
"github.com/heroiclabs/nakama/v3/console"
3939
)
4040

4141
type consoleAccountCursor struct {

server/console_api_explorer.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/golang/protobuf/proto"
1010
"github.com/golang/protobuf/ptypes/empty"
1111
"github.com/heroiclabs/nakama-common/api"
12-
"github.com/heroiclabs/nakama/v2/console"
12+
"github.com/heroiclabs/nakama/v3/console"
1313
"go.uber.org/zap"
1414
"google.golang.org/grpc/codes"
1515
"google.golang.org/grpc/status"

server/console_authenticate.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030
"google.golang.org/grpc/status"
3131

3232
jwt "github.com/dgrijalva/jwt-go"
33-
"github.com/heroiclabs/nakama/v2/console"
33+
"github.com/heroiclabs/nakama/v3/console"
3434
)
3535

3636
type ConsoleTokenClaims struct {

server/console_config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"strings"
2323

2424
"github.com/golang/protobuf/ptypes/empty"
25-
"github.com/heroiclabs/nakama/v2/console"
25+
"github.com/heroiclabs/nakama/v3/console"
2626
"go.uber.org/zap"
2727
"google.golang.org/grpc/codes"
2828
"google.golang.org/grpc/status"

server/console_leaderboard.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"github.com/golang/protobuf/ptypes/timestamp"
2222
"github.com/golang/protobuf/ptypes/wrappers"
2323
"github.com/heroiclabs/nakama-common/api"
24-
"github.com/heroiclabs/nakama/v2/console"
24+
"github.com/heroiclabs/nakama/v3/console"
2525
"go.uber.org/zap"
2626
"google.golang.org/grpc/codes"
2727
"google.golang.org/grpc/status"

server/console_match.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"context"
1919
"github.com/gofrs/uuid"
2020
"github.com/heroiclabs/nakama-common/api"
21-
"github.com/heroiclabs/nakama/v2/console"
21+
"github.com/heroiclabs/nakama/v3/console"
2222
"go.uber.org/zap"
2323
"google.golang.org/grpc/codes"
2424
"google.golang.org/grpc/status"

server/console_runtime.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"context"
1919
"github.com/golang/protobuf/ptypes/empty"
2020
"github.com/golang/protobuf/ptypes/timestamp"
21-
"github.com/heroiclabs/nakama/v2/console"
21+
"github.com/heroiclabs/nakama/v3/console"
2222
)
2323

2424
func (s *ConsoleServer) GetRuntime(ctx context.Context, in *empty.Empty) (*console.RuntimeInfo, error) {

server/console_status.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"context"
1919
"github.com/golang/protobuf/ptypes/empty"
2020
"github.com/golang/protobuf/ptypes/timestamp"
21-
"github.com/heroiclabs/nakama/v2/console"
21+
"github.com/heroiclabs/nakama/v3/console"
2222
"go.uber.org/zap"
2323
"google.golang.org/grpc/codes"
2424
"google.golang.org/grpc/status"

server/console_storage.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
"github.com/golang/protobuf/ptypes/empty"
2929
"github.com/golang/protobuf/ptypes/timestamp"
3030
"github.com/heroiclabs/nakama-common/api"
31-
"github.com/heroiclabs/nakama/v2/console"
31+
"github.com/heroiclabs/nakama/v3/console"
3232
"github.com/jackc/pgx/pgtype"
3333
"go.uber.org/zap"
3434
"google.golang.org/grpc/codes"

server/console_storage_import.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"encoding/json"
2323
"errors"
2424
"fmt"
25-
"github.com/heroiclabs/nakama/v2/console"
25+
"github.com/heroiclabs/nakama/v3/console"
2626
"io"
2727
"io/ioutil"
2828
"net/http"

server/console_unlink.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"context"
1919
"github.com/gofrs/uuid"
2020
"github.com/golang/protobuf/ptypes/empty"
21-
"github.com/heroiclabs/nakama/v2/console"
21+
"github.com/heroiclabs/nakama/v3/console"
2222
"go.uber.org/zap"
2323
"google.golang.org/grpc/codes"
2424
"google.golang.org/grpc/status"

server/console_user.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121

2222
"github.com/gofrs/uuid"
2323
"github.com/golang/protobuf/ptypes/empty"
24-
"github.com/heroiclabs/nakama/v2/console"
24+
"github.com/heroiclabs/nakama/v3/console"
2525
"github.com/jackc/pgx"
2626
"go.uber.org/zap"
2727
"golang.org/x/crypto/bcrypt"

server/core_account.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"github.com/golang/protobuf/ptypes/timestamp"
2323
"github.com/golang/protobuf/ptypes/wrappers"
2424
"github.com/heroiclabs/nakama-common/api"
25-
"github.com/heroiclabs/nakama/v2/console"
25+
"github.com/heroiclabs/nakama/v3/console"
2626
"github.com/jackc/pgx"
2727
"github.com/jackc/pgx/pgtype"
2828
"github.com/pkg/errors"

server/core_authenticate.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"github.com/gofrs/uuid"
2828
"github.com/golang/protobuf/ptypes/timestamp"
2929
"github.com/heroiclabs/nakama-common/api"
30-
"github.com/heroiclabs/nakama/v2/social"
30+
"github.com/heroiclabs/nakama/v3/social"
3131
"github.com/jackc/pgx"
3232
"github.com/jackc/pgx/pgtype"
3333
"go.uber.org/zap"

server/core_link.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"context"
1919
"database/sql"
2020
"github.com/gofrs/uuid"
21-
"github.com/heroiclabs/nakama/v2/social"
21+
"github.com/heroiclabs/nakama/v3/social"
2222
"github.com/jackc/pgx"
2323
"go.uber.org/zap"
2424
"golang.org/x/crypto/bcrypt"

server/core_tournament.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030
"github.com/golang/protobuf/ptypes/timestamp"
3131
"github.com/golang/protobuf/ptypes/wrappers"
3232
"github.com/heroiclabs/nakama-common/api"
33-
"github.com/heroiclabs/nakama/v2/internal/cronexpr"
33+
"github.com/heroiclabs/nakama/v3/internal/cronexpr"
3434
"github.com/jackc/pgx/pgtype"
3535
"go.uber.org/zap"
3636
)

server/core_unlink.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"context"
1919
"database/sql"
2020
"github.com/gofrs/uuid"
21-
"github.com/heroiclabs/nakama/v2/social"
21+
"github.com/heroiclabs/nakama/v3/social"
2222
"go.uber.org/zap"
2323
"google.golang.org/grpc/codes"
2424
"google.golang.org/grpc/status"

server/leaderboard_cache.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"sync"
2626
"time"
2727

28-
"github.com/heroiclabs/nakama/v2/internal/cronexpr"
28+
"github.com/heroiclabs/nakama/v3/internal/cronexpr"
2929
"github.com/jackc/pgx/pgtype"
3030
"go.uber.org/zap"
3131
)

server/leaderboard_rank_cache.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"sync"
2020
"time"
2121

22-
"github.com/heroiclabs/nakama/v2/internal/skiplist"
22+
"github.com/heroiclabs/nakama/v3/internal/skiplist"
2323

2424
"github.com/heroiclabs/nakama-common/api"
2525

server/runtime.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131
"github.com/golang/protobuf/jsonpb"
3232
"github.com/heroiclabs/nakama-common/api"
3333
"github.com/heroiclabs/nakama-common/rtapi"
34-
"github.com/heroiclabs/nakama/v2/social"
34+
"github.com/heroiclabs/nakama/v3/social"
3535
"github.com/pkg/errors"
3636
"go.uber.org/zap"
3737
"google.golang.org/grpc/codes"

server/runtime_go.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030
"github.com/heroiclabs/nakama-common/api"
3131
"github.com/heroiclabs/nakama-common/rtapi"
3232
"github.com/heroiclabs/nakama-common/runtime"
33-
"github.com/heroiclabs/nakama/v2/social"
33+
"github.com/heroiclabs/nakama/v3/social"
3434
"go.uber.org/zap"
3535
"google.golang.org/grpc/codes"
3636
)

server/runtime_go_nakama.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ import (
3333
"github.com/heroiclabs/nakama-common/api"
3434
"github.com/heroiclabs/nakama-common/rtapi"
3535
"github.com/heroiclabs/nakama-common/runtime"
36-
"github.com/heroiclabs/nakama/v2/internal/cronexpr"
37-
"github.com/heroiclabs/nakama/v2/social"
36+
"github.com/heroiclabs/nakama/v3/internal/cronexpr"
37+
"github.com/heroiclabs/nakama/v3/social"
3838
"github.com/pkg/errors"
3939
"go.uber.org/zap"
4040
)

server/runtime_javascript.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import (
3333
"github.com/heroiclabs/nakama-common/api"
3434
"github.com/heroiclabs/nakama-common/rtapi"
3535
"github.com/heroiclabs/nakama-common/runtime"
36-
"github.com/heroiclabs/nakama/v2/social"
36+
"github.com/heroiclabs/nakama/v3/social"
3737
"go.uber.org/atomic"
3838
"go.uber.org/zap"
3939
"google.golang.org/grpc/codes"

0 commit comments

Comments
 (0)