Skip to content

Commit 02800b5

Browse files
committed
pkg: fix import paths according to new repo location
1 parent b00d0ae commit 02800b5

File tree

11 files changed

+17
-17
lines changed

11 files changed

+17
-17
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM golang:1.9.1
22

3-
WORKDIR /go/src/github.com/koding/ropecount
3+
WORKDIR /go/src/github.com/ropelive/count
44

55
ADD . .
66

7-
RUN /go/src/github.com/koding/ropecount/build.sh
7+
RUN /go/src/github.com/ropelive/count/build.sh

build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -euo pipefail
44

55
export GOPATH=$(
6-
cd "$(dirname "$0")"/../../../.. #src/github.com/koding/ropecount
6+
cd "$(dirname "$0")"/../../../.. #src/github.com/ropelive/count
77
pwd
88
)
99
export GOBIN=${GOBIN:-${GOPATH}/bin}
@@ -15,7 +15,7 @@ go-install() {
1515
}
1616

1717
export COMMANDS=(
18-
$(go list github.com/koding/ropecount/... | grep -v vendor)
18+
$(go list github.com/ropelive/count/... | grep -v vendor)
1919
)
2020

2121
go-install ${COMMANDS[@]}

clients/compactor.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/go-kit/kit/sd"
1212
"github.com/go-kit/kit/sd/consul"
1313
"github.com/go-kit/kit/sd/lb"
14-
"github.com/koding/ropecount/services/compactor"
14+
"github.com/ropelive/count/services/compactor"
1515
)
1616

1717
// NewCompactor returns a service that's load-balanced over instances of

clients/counter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/go-kit/kit/sd"
1212
"github.com/go-kit/kit/sd/consul"
1313
"github.com/go-kit/kit/sd/lb"
14-
"github.com/koding/ropecount/services/counter"
14+
"github.com/ropelive/count/services/counter"
1515
)
1616

1717
// NewCounter returns a service that's load-balanced over instances of counter

cmd/compactor/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"time"
77

88
"github.com/go-kit/kit/log"
9-
"github.com/koding/ropecount/pkg"
10-
"github.com/koding/ropecount/services/compactor"
9+
"github.com/ropelive/count/pkg"
10+
"github.com/ropelive/count/services/compactor"
1111
)
1212

1313
func main() {

cmd/counter/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"net/http"
55

66
"github.com/go-kit/kit/log"
7-
"github.com/koding/ropecount/pkg"
8-
"github.com/koding/ropecount/services/counter"
7+
"github.com/ropelive/count/pkg"
8+
"github.com/ropelive/count/services/counter"
99
)
1010

1111
func main() {

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
image: ropelive/countbase
66
restart: on-failure
77
volumes:
8-
- .:/go/src/github.com/koding/ropecount
8+
- .:/go/src/github.com/ropelive/count
99
- logvolume01:/var/log
1010

1111

pkg/app.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/go-kit/kit/log"
1111
"github.com/go-kit/kit/log/level"
1212
"github.com/koding/redis"
13-
"github.com/koding/ropecount/pkg/mongodb"
13+
"github.com/ropelive/count/pkg/mongodb"
1414
)
1515

1616
// App is the context for services.

services/compactor/service.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77

88
redigo "github.com/garyburd/redigo/redis"
99
"github.com/koding/redis"
10-
"github.com/koding/ropecount/pkg"
11-
"github.com/koding/ropecount/pkg/mongodb"
10+
"github.com/ropelive/count/pkg"
11+
"github.com/ropelive/count/pkg/mongodb"
1212
)
1313

1414
// Service is a simple interface for compactor operations.

services/compactor/service_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"time"
1010

1111
"github.com/koding/redis"
12-
"github.com/koding/ropecount/pkg"
13-
"github.com/koding/ropecount/pkg/mongodb"
12+
"github.com/ropelive/count/pkg"
13+
"github.com/ropelive/count/pkg/mongodb"
1414
)
1515

1616
func withApp(fn func(app *pkg.App)) {

services/counter/service.go

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

7-
"github.com/koding/ropecount/pkg"
7+
"github.com/ropelive/count/pkg"
88
)
99

1010
// Service is the interface for counter operations.

0 commit comments

Comments
 (0)