Skip to content

Commit

Permalink
Random (#278)
Browse files Browse the repository at this point in the history
* use separated random service

* updated glide files

* added random service as separate dependency
  • Loading branch information
xh3b4sd authored Nov 17, 2016
1 parent 8bd49e7 commit 68c9b44
Show file tree
Hide file tree
Showing 16 changed files with 90 additions and 7 deletions.
2 changes: 1 addition & 1 deletion command/boot/service_collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"github.com/cenk/backoff"
kitlog "github.com/go-kit/kit/log"

"github.com/the-anna-project/random"
objectspec "github.com/the-anna-project/spec/object"
servicespec "github.com/the-anna-project/spec/service"
"github.com/xh3b4sd/anna/service"
Expand All @@ -22,7 +23,6 @@ import (
"github.com/xh3b4sd/anna/service/log"
"github.com/xh3b4sd/anna/service/network"
"github.com/xh3b4sd/anna/service/permutation"
"github.com/xh3b4sd/anna/service/random"
"github.com/xh3b4sd/anna/service/storage"
"github.com/xh3b4sd/anna/service/storage/memory"
"github.com/xh3b4sd/anna/service/storage/redis"
Expand Down
3 changes: 1 addition & 2 deletions connection-path/connection_path.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import (
"encoding/json"
"math"

"github.com/the-anna-project/spec/legacy"
"github.com/xh3b4sd/anna/service/random"
"github.com/the-anna-project/random"
)

// Config represents the configuration used to create a new connection path
Expand Down
11 changes: 8 additions & 3 deletions glide.lock

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

1 change: 1 addition & 0 deletions glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ package: github.com/xh3b4sd/anna
import:
- package: github.com/alicebob/miniredis
- package: github.com/the-anna-project/spec
- package: github.com/the-anna-project/random
2 changes: 1 addition & 1 deletion service/id/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"sync"
"testing"

"github.com/xh3b4sd/anna/service/random"
"github.com/the-anna-project/random"
)

func Test_IDService_NewService_Error_HashChars(t *testing.T) {
Expand Down
3 changes: 3 additions & 0 deletions vendor/github.com/the-anna-project/random/.gitignore

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

23 changes: 23 additions & 0 deletions vendor/github.com/the-anna-project/random/.travis.yml

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

32 changes: 32 additions & 0 deletions vendor/github.com/the-anna-project/random/Makefile

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

4 changes: 4 additions & 0 deletions vendor/github.com/the-anna-project/random/README.md

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

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 16 additions & 0 deletions vendor/github.com/the-anna-project/random/gotest

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

File renamed without changes.
File renamed without changes.

0 comments on commit 68c9b44

Please sign in to comment.