Skip to content
This repository was archived by the owner on Oct 4, 2022. It is now read-only.

Commit 354d3ff

Browse files
committed
Move to Exploratory Engineering repo
1 parent 6309df9 commit 354d3ff

31 files changed

+70
-64
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
all: test bins lint
1+
all: nolint lint
2+
3+
nolint: test bins
24

35
clean:
46
go clean

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,20 @@ A silver bullet.
1111

1212
## Requirements
1313

14-
clusterfunk requires Go version 1.12 or later.
14+
clusterfunk requires Go version 1.12 or later. You'll need a few linters to
15+
run the lint target but you can build a version with `make nolint` which will
16+
just run the tests and build the binaries.
1517

1618
## Building
1719

18-
This library requires a fairly recent version of Go, at least 1.12. If you are modifying the protobuffer files you'll need the protoc compiler. The generated files are included in the source tree so you won't need it unless you use `make generate` (or `go generate ./...`).
20+
This library requires a fairly recent version of Go, at least 1.12. If you are
21+
modifying the protobuffer files you'll need the protoc compiler. The generated
22+
files are included in the source tree so you won't need it unless you use
23+
`make generate` (or `go generate ./...`).
1924

20-
Run `make` to build the demo service. The build uses a host of checkers (golint, go vet, staticcheck, revive and golangci-lint) so you might get some errors if you miss one or more of those.
25+
Run `make` to build the demo service. The build uses a host of checkers (golint,
26+
go vet, staticcheck, revive and golangci-lint) so you might get some errors if
27+
you miss one or more of those.
2128

2229
Get them the usual way:
2330

cmd/ctrlc/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ import (
2222
"time"
2323

2424
"github.com/ExploratoryEngineering/params"
25-
"github.com/stalehd/clusterfunk/pkg/clientfunk"
26-
"github.com/stalehd/clusterfunk/pkg/funk/clustermgmt"
27-
"github.com/stalehd/clusterfunk/pkg/toolbox"
25+
"github.com/ExploratoryEngineering/clusterfunk/pkg/clientfunk"
26+
"github.com/ExploratoryEngineering/clusterfunk/pkg/funk/clustermgmt"
27+
"github.com/ExploratoryEngineering/clusterfunk/pkg/toolbox"
2828
"google.golang.org/grpc"
2929
)
3030

cmd/demo/client/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ import (
2626
"github.com/ExploratoryEngineering/params"
2727

2828
"github.com/aclements/go-moremath/stats"
29-
"github.com/stalehd/clusterfunk/cmd/demo"
30-
"github.com/stalehd/clusterfunk/pkg/clientfunk"
31-
"github.com/stalehd/clusterfunk/pkg/funk"
32-
"github.com/stalehd/clusterfunk/pkg/toolbox"
29+
"github.com/ExploratoryEngineering/clusterfunk/cmd/demo"
30+
"github.com/ExploratoryEngineering/clusterfunk/pkg/clientfunk"
31+
"github.com/ExploratoryEngineering/clusterfunk/pkg/funk"
32+
"github.com/ExploratoryEngineering/clusterfunk/pkg/toolbox"
3333
)
3434

3535
type parameters struct {

cmd/demo/server/grpcserver/liffserver.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ import (
2020
"math/rand"
2121
"net"
2222

23-
"github.com/stalehd/clusterfunk/cmd/demo"
24-
"github.com/stalehd/clusterfunk/pkg/funk"
25-
"github.com/stalehd/clusterfunk/pkg/funk/sharding"
26-
"github.com/stalehd/clusterfunk/pkg/serverfunk"
23+
"github.com/ExploratoryEngineering/clusterfunk/cmd/demo"
24+
"github.com/ExploratoryEngineering/clusterfunk/pkg/funk"
25+
"github.com/ExploratoryEngineering/clusterfunk/pkg/funk/sharding"
26+
"github.com/ExploratoryEngineering/clusterfunk/pkg/serverfunk"
2727

2828
log "github.com/sirupsen/logrus"
2929
"google.golang.org/grpc"

cmd/demo/server/http/events.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ package http
1515
//limitations under the License.
1616
//
1717
import (
18-
"github.com/stalehd/clusterfunk/pkg/funk"
19-
"github.com/stalehd/clusterfunk/pkg/funk/sharding"
18+
"github.com/ExploratoryEngineering/clusterfunk/pkg/funk"
19+
"github.com/ExploratoryEngineering/clusterfunk/pkg/funk/sharding"
2020
)
2121

2222
// This file contains the websocket events that will be sent to the client

cmd/demo/server/http/http.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import (
1919
"net/http"
2020
"os"
2121

22-
"github.com/stalehd/clusterfunk/pkg/funk"
23-
"github.com/stalehd/clusterfunk/pkg/funk/sharding"
22+
"github.com/ExploratoryEngineering/clusterfunk/pkg/funk"
23+
"github.com/ExploratoryEngineering/clusterfunk/pkg/funk/sharding"
2424

2525
"github.com/gorilla/websocket"
2626
log "github.com/sirupsen/logrus"

cmd/demo/server/main.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ import (
2121
"runtime/pprof"
2222

2323
"github.com/prometheus/client_golang/prometheus/promhttp"
24-
"github.com/stalehd/clusterfunk/cmd/demo/server/grpcserver"
24+
"github.com/ExploratoryEngineering/clusterfunk/cmd/demo/server/grpcserver"
2525

2626
golog "log"
2727

2828
"github.com/ExploratoryEngineering/params"
2929
"github.com/ExploratoryEngineering/rest"
3030
log "github.com/sirupsen/logrus"
31-
"github.com/stalehd/clusterfunk/cmd/demo/server/http"
32-
"github.com/stalehd/clusterfunk/pkg/funk"
33-
"github.com/stalehd/clusterfunk/pkg/funk/sharding"
34-
"github.com/stalehd/clusterfunk/pkg/toolbox"
31+
"github.com/ExploratoryEngineering/clusterfunk/cmd/demo/server/http"
32+
"github.com/ExploratoryEngineering/clusterfunk/pkg/funk"
33+
"github.com/ExploratoryEngineering/clusterfunk/pkg/funk/sharding"
34+
"github.com/ExploratoryEngineering/clusterfunk/pkg/toolbox"
3535
)
3636

3737
const numShards = 10000

cmd/liveness/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ import (
1919
"fmt"
2020
"time"
2121

22-
"github.com/stalehd/clusterfunk/pkg/toolbox"
22+
"github.com/ExploratoryEngineering/clusterfunk/pkg/toolbox"
2323

24-
"github.com/stalehd/clusterfunk/pkg/funk"
24+
"github.com/ExploratoryEngineering/clusterfunk/pkg/funk"
2525
)
2626

2727
var eps = []string{

cmd/raft/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ import (
2323

2424
log "github.com/sirupsen/logrus"
2525

26-
"github.com/stalehd/clusterfunk/pkg/funk"
27-
"github.com/stalehd/clusterfunk/pkg/funk/sharding"
28-
"github.com/stalehd/clusterfunk/pkg/toolbox"
26+
"github.com/ExploratoryEngineering/clusterfunk/pkg/funk"
27+
"github.com/ExploratoryEngineering/clusterfunk/pkg/funk/sharding"
28+
"github.com/ExploratoryEngineering/clusterfunk/pkg/toolbox"
2929
)
3030

3131
const numShards = 10000

0 commit comments

Comments
 (0)