Skip to content

chore: rename module #137

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

Merged
merged 1 commit into from
Feb 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
12 changes: 6 additions & 6 deletions benchmark/bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ import (
"context"
"github.com/apache/pulsar-client-go/pulsaradmin"
"github.com/apache/pulsar-client-go/pulsaradmin/pkg/utils"
"github.com/functionstream/functionstream/common"
"github.com/functionstream/functionstream/fs"
"github.com/functionstream/functionstream/fs/contube"
"github.com/functionstream/functionstream/perf"
"github.com/functionstream/functionstream/restclient"
"github.com/functionstream/functionstream/server"
"github.com/functionstream/function-stream/common"
"github.com/functionstream/function-stream/fs"
"github.com/functionstream/function-stream/fs/contube"
"github.com/functionstream/function-stream/perf"
"github.com/functionstream/function-stream/restclient"
"github.com/functionstream/function-stream/server"
"math/rand"
"os"
"runtime/pprof"
Expand Down
12 changes: 6 additions & 6 deletions cmd/client/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
package client

import (
c "github.com/functionstream/functionstream/cmd/client/common"
"github.com/functionstream/functionstream/cmd/client/consume"
"github.com/functionstream/functionstream/cmd/client/create"
del "github.com/functionstream/functionstream/cmd/client/delete"
"github.com/functionstream/functionstream/cmd/client/list"
"github.com/functionstream/functionstream/cmd/client/produce"
c "github.com/functionstream/function-stream/cmd/client/common"
"github.com/functionstream/function-stream/cmd/client/consume"
"github.com/functionstream/function-stream/cmd/client/create"
del "github.com/functionstream/function-stream/cmd/client/delete"
"github.com/functionstream/function-stream/cmd/client/list"
"github.com/functionstream/function-stream/cmd/client/produce"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/client/consume/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package consume
import (
"context"
"fmt"
"github.com/functionstream/functionstream/cmd/client/common"
"github.com/functionstream/functionstream/restclient"
"github.com/functionstream/function-stream/cmd/client/common"
"github.com/functionstream/function-stream/restclient"
"github.com/spf13/cobra"
"os"
)
Expand Down
6 changes: 3 additions & 3 deletions cmd/client/create/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ package create
import (
"context"
"fmt"
"github.com/functionstream/functionstream/cmd/client/common"
fs_cmmon "github.com/functionstream/functionstream/common"
"github.com/functionstream/functionstream/restclient"
"github.com/functionstream/function-stream/cmd/client/common"
fs_cmmon "github.com/functionstream/function-stream/common"
"github.com/functionstream/function-stream/restclient"
"github.com/spf13/cobra"
"io"
"os"
Expand Down
4 changes: 2 additions & 2 deletions cmd/client/delete/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package del
import (
"context"
"fmt"
"github.com/functionstream/functionstream/cmd/client/common"
"github.com/functionstream/functionstream/restclient"
"github.com/functionstream/function-stream/cmd/client/common"
"github.com/functionstream/function-stream/restclient"
"github.com/spf13/cobra"
"os"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/client/list/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package list
import (
"context"
"fmt"
"github.com/functionstream/functionstream/cmd/client/common"
"github.com/functionstream/functionstream/restclient"
"github.com/functionstream/function-stream/cmd/client/common"
"github.com/functionstream/function-stream/restclient"
"github.com/spf13/cobra"
"os"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/client/produce/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package produce
import (
"context"
"fmt"
"github.com/functionstream/functionstream/cmd/client/common"
"github.com/functionstream/functionstream/restclient"
"github.com/functionstream/function-stream/cmd/client/common"
"github.com/functionstream/function-stream/restclient"
"github.com/spf13/cobra"
"os"
)
Expand Down
8 changes: 4 additions & 4 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ package main

import (
"fmt"
"github.com/functionstream/functionstream/cmd/client"
"github.com/functionstream/functionstream/cmd/perf"
"github.com/functionstream/functionstream/cmd/server"
"github.com/functionstream/functionstream/cmd/standalone"
"github.com/functionstream/function-stream/cmd/client"
"github.com/functionstream/function-stream/cmd/perf"
"github.com/functionstream/function-stream/cmd/server"
"github.com/functionstream/function-stream/cmd/standalone"
"github.com/spf13/cobra"
"os"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/perf/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ package perf

import (
"context"
"github.com/functionstream/functionstream/common"
"github.com/functionstream/functionstream/perf"
"github.com/functionstream/function-stream/common"
"github.com/functionstream/function-stream/perf"
"github.com/spf13/cobra"
"io"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/server/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ package server

import (
"context"
"github.com/functionstream/functionstream/common"
"github.com/functionstream/functionstream/server"
"github.com/functionstream/function-stream/common"
"github.com/functionstream/function-stream/server"
"github.com/spf13/cobra"
"io"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/standalone/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ package standalone

import (
"context"
"github.com/functionstream/functionstream/common"
"github.com/functionstream/functionstream/server"
"github.com/functionstream/function-stream/common"
"github.com/functionstream/function-stream/server"
"github.com/spf13/cobra"
"io"
)
Expand Down
2 changes: 1 addition & 1 deletion common/model/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

package model

import "github.com/functionstream/functionstream/fs/contube"
import "github.com/functionstream/function-stream/fs/contube"

type TubeConfig struct {
Config contube.ConfigMap `json:"config,omitempty" yaml:"config,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion common/model/function_serde_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package model
import (
"encoding/json"
"fmt"
"github.com/functionstream/functionstream/common"
"github.com/functionstream/function-stream/common"
"gopkg.in/yaml.v3"
"reflect"
"testing"
Expand Down
4 changes: 2 additions & 2 deletions fs/api/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
package api

import (
"github.com/functionstream/functionstream/common/model"
"github.com/functionstream/functionstream/fs/contube"
"github.com/functionstream/function-stream/common/model"
"github.com/functionstream/function-stream/fs/contube"
"golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion fs/api/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package api

import (
"github.com/functionstream/functionstream/fs/contube"
"github.com/functionstream/function-stream/fs/contube"
)

type FunctionRuntime interface {
Expand Down
6 changes: 3 additions & 3 deletions fs/instance_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ package fs
import (
"context"
"fmt"
"github.com/functionstream/functionstream/common/model"
"github.com/functionstream/functionstream/fs/api"
"github.com/functionstream/functionstream/fs/contube"
"github.com/functionstream/function-stream/common/model"
"github.com/functionstream/function-stream/fs/api"
"github.com/functionstream/function-stream/fs/contube"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"log/slog"
Expand Down
10 changes: 5 additions & 5 deletions fs/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ package fs

import (
"context"
"github.com/functionstream/functionstream/common"
"github.com/functionstream/functionstream/common/model"
"github.com/functionstream/functionstream/fs/api"
"github.com/functionstream/functionstream/fs/contube"
"github.com/functionstream/functionstream/fs/runtime/wazero"
"github.com/functionstream/function-stream/common"
"github.com/functionstream/function-stream/common/model"
"github.com/functionstream/function-stream/fs/api"
"github.com/functionstream/function-stream/fs/contube"
"github.com/functionstream/function-stream/fs/runtime/wazero"
"github.com/pkg/errors"
"log/slog"
"math/rand"
Expand Down
6 changes: 3 additions & 3 deletions fs/runtime/grpc/grpc_func.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ package grpc

import (
"fmt"
"github.com/functionstream/functionstream/fs/api"
"github.com/functionstream/functionstream/fs/contube"
"github.com/functionstream/functionstream/fs/runtime/grpc/proto"
"github.com/functionstream/function-stream/fs/api"
"github.com/functionstream/function-stream/fs/contube"
"github.com/functionstream/function-stream/fs/runtime/grpc/proto"
"golang.org/x/net/context"
"google.golang.org/grpc"
"google.golang.org/grpc/metadata"
Expand Down
10 changes: 5 additions & 5 deletions fs/runtime/grpc/grpc_func_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ package grpc

import (
"context"
"github.com/functionstream/functionstream/common"
"github.com/functionstream/functionstream/common/model"
"github.com/functionstream/functionstream/fs"
"github.com/functionstream/functionstream/fs/api"
"github.com/functionstream/functionstream/fs/contube"
"github.com/functionstream/function-stream/common"
"github.com/functionstream/function-stream/common/model"
"github.com/functionstream/function-stream/fs"
"github.com/functionstream/function-stream/fs/api"
"github.com/functionstream/function-stream/fs/contube"
"testing"
"time"
)
Expand Down
2 changes: 1 addition & 1 deletion fs/runtime/grpc/mock_grpc_func_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package grpc

import (
"github.com/functionstream/functionstream/fs/runtime/grpc/proto"
"github.com/functionstream/function-stream/fs/runtime/grpc/proto"
"golang.org/x/net/context"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
Expand Down
6 changes: 3 additions & 3 deletions fs/runtime/wazero/wazero_runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
package wazero

import (
"github.com/functionstream/functionstream/common"
"github.com/functionstream/functionstream/fs/api"
"github.com/functionstream/functionstream/fs/contube"
"github.com/functionstream/function-stream/common"
"github.com/functionstream/function-stream/fs/api"
"github.com/functionstream/function-stream/fs/contube"
"github.com/pkg/errors"
"github.com/tetratelabs/wazero"
wazero_api "github.com/tetratelabs/wazero/api"
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/functionstream/functionstream
module github.com/functionstream/function-stream

go 1.21

Expand Down
6 changes: 3 additions & 3 deletions perf/perf.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"encoding/json"
"fmt"
"github.com/bmizerany/perks/quantile"
"github.com/functionstream/functionstream/common"
"github.com/functionstream/functionstream/fs/contube"
"github.com/functionstream/functionstream/restclient"
"github.com/functionstream/function-stream/common"
"github.com/functionstream/function-stream/fs/contube"
"github.com/functionstream/function-stream/restclient"
"golang.org/x/time/rate"
"log/slog"
"math/rand"
Expand Down
2 changes: 1 addition & 1 deletion server/config_loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package server

import (
"github.com/functionstream/functionstream/common"
"github.com/functionstream/function-stream/common"
"log/slog"
"os"
"sync"
Expand Down
10 changes: 5 additions & 5 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ import (
"context"
"encoding/json"
"fmt"
"github.com/functionstream/functionstream/common"
"github.com/functionstream/functionstream/common/model"
"github.com/functionstream/functionstream/fs"
"github.com/functionstream/functionstream/fs/contube"
"github.com/functionstream/functionstream/restclient"
"github.com/functionstream/function-stream/common"
"github.com/functionstream/function-stream/common/model"
"github.com/functionstream/function-stream/fs"
"github.com/functionstream/function-stream/fs/contube"
"github.com/functionstream/function-stream/restclient"
"github.com/gorilla/mux"
"github.com/pkg/errors"
"io"
Expand Down
8 changes: 4 additions & 4 deletions server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ package server
import (
"context"
"encoding/json"
"github.com/functionstream/functionstream/common"
"github.com/functionstream/functionstream/common/model"
"github.com/functionstream/functionstream/fs/contube"
"github.com/functionstream/functionstream/tests"
"github.com/functionstream/function-stream/common"
"github.com/functionstream/function-stream/common/model"
"github.com/functionstream/function-stream/fs/contube"
"github.com/functionstream/function-stream/tests"
"math/rand"
"strconv"
"testing"
Expand Down
4 changes: 2 additions & 2 deletions tests/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"context"
"encoding/json"
"github.com/apache/pulsar-client-go/pulsar"
"github.com/functionstream/functionstream/common"
"github.com/functionstream/functionstream/restclient"
"github.com/functionstream/function-stream/common"
"github.com/functionstream/function-stream/restclient"
"io"
"log/slog"
"math/rand"
Expand Down