Skip to content

Commit

Permalink
Merge pull request #6 from davejohnston/maint/remove_uncessary_v0_mod…
Browse files Browse the repository at this point in the history
…ule_version

(MAINT) This removes the unnecessary v0 module declaration
  • Loading branch information
davejohnston authored Apr 22, 2021
2 parents 596abb6 + 457f8fa commit 8e9a4f0
Show file tree
Hide file tree
Showing 16 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion cache/cache.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cache

import (
"github.com/drone/ff-golang-server-sdk.v0/logger"
"github.com/drone/ff-golang-server-sdk/logger"

"time"
)
Expand Down
2 changes: 1 addition & 1 deletion cache/lru.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cache

import (
"github.com/drone/ff-golang-server-sdk.v0/logger"
"github.com/drone/ff-golang-server-sdk/logger"
lru "github.com/hashicorp/golang-lru"

"reflect"
Expand Down
8 changes: 4 additions & 4 deletions cache/persist.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package cache

import (
"github.com/drone/ff-golang-server-sdk.v0/dto"
"github.com/drone/ff-golang-server-sdk.v0/evaluation"
"github.com/drone/ff-golang-server-sdk.v0/logger"
"github.com/drone/ff-golang-server-sdk.v0/storage"
"github.com/drone/ff-golang-server-sdk/dto"
"github.com/drone/ff-golang-server-sdk/evaluation"
"github.com/drone/ff-golang-server-sdk/logger"
"github.com/drone/ff-golang-server-sdk/storage"
"github.com/mitchellh/mapstructure"
)

Expand Down
12 changes: 6 additions & 6 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import (

"github.com/deepmap/oapi-codegen/pkg/securityprovider"
"github.com/dgrijalva/jwt-go"
"github.com/drone/ff-golang-server-sdk.v0/cache"
"github.com/drone/ff-golang-server-sdk.v0/dto"
"github.com/drone/ff-golang-server-sdk.v0/evaluation"
"github.com/drone/ff-golang-server-sdk.v0/rest"
"github.com/drone/ff-golang-server-sdk.v0/stream"
"github.com/drone/ff-golang-server-sdk.v0/types"
"github.com/drone/ff-golang-server-sdk/cache"
"github.com/drone/ff-golang-server-sdk/dto"
"github.com/drone/ff-golang-server-sdk/evaluation"
"github.com/drone/ff-golang-server-sdk/rest"
"github.com/drone/ff-golang-server-sdk/stream"
"github.com/drone/ff-golang-server-sdk/types"
"github.com/hashicorp/go-retryablehttp"
"github.com/r3labs/sse"
)
Expand Down
6 changes: 3 additions & 3 deletions client/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package client
import (
"log"

"github.com/drone/ff-golang-server-sdk.v0/cache"
"github.com/drone/ff-golang-server-sdk.v0/logger"
"github.com/drone/ff-golang-server-sdk.v0/storage"
"github.com/drone/ff-golang-server-sdk/cache"
"github.com/drone/ff-golang-server-sdk/logger"
"github.com/drone/ff-golang-server-sdk/storage"
)

type config struct {
Expand Down
6 changes: 3 additions & 3 deletions client/options.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package client

import (
"github.com/drone/ff-golang-server-sdk.v0/cache"
"github.com/drone/ff-golang-server-sdk.v0/logger"
"github.com/drone/ff-golang-server-sdk.v0/storage"
"github.com/drone/ff-golang-server-sdk/cache"
"github.com/drone/ff-golang-server-sdk/logger"
"github.com/drone/ff-golang-server-sdk/storage"
)

// ConfigOption is used as return value for advanced client configuration
Expand Down
2 changes: 1 addition & 1 deletion dto/target_builder.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package dto

import (
"github.com/drone/ff-golang-server-sdk.v0/evaluation"
"github.com/drone/ff-golang-server-sdk/evaluation"
)

// TargetBuilderInterface used for fluent builder methods
Expand Down
2 changes: 1 addition & 1 deletion evaluation/feature.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package evaluation
import (
"encoding/json"

"github.com/drone/ff-golang-server-sdk.v0/types"
"github.com/drone/ff-golang-server-sdk/types"

"reflect"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion evaluation/feature_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package evaluation
import (
"encoding/json"

"github.com/drone/ff-golang-server-sdk.v0/types"
"github.com/drone/ff-golang-server-sdk/types"

"reflect"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion evaluation/target.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package evaluation

import (
"github.com/drone/ff-golang-server-sdk.v0/types"
"github.com/drone/ff-golang-server-sdk/types"

"reflect"
)
Expand Down
2 changes: 1 addition & 1 deletion evaluation/target_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"reflect"
"testing"

"github.com/drone/ff-golang-server-sdk.v0/types"
"github.com/drone/ff-golang-server-sdk/types"
)

func TestTarget_GetOperator(t1 *testing.T) {
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/drone/ff-golang-server-sdk.v0
module github.com/drone/ff-golang-server-sdk

go 1.14

Expand Down
2 changes: 1 addition & 1 deletion rest/adapter.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package rest

import "github.com/drone/ff-golang-server-sdk.v0/evaluation"
import "github.com/drone/ff-golang-server-sdk/evaluation"

func (wv WeightedVariation) convert() *evaluation.WeightedVariation {
return &evaluation.WeightedVariation{
Expand Down
2 changes: 1 addition & 1 deletion storage/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package storage
import (
"fmt"

"github.com/drone/ff-golang-server-sdk.v0/logger"
"github.com/drone/ff-golang-server-sdk/logger"

jsoniter "github.com/json-iterator/go"

Expand Down
2 changes: 1 addition & 1 deletion storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"path"
"time"

"github.com/drone/ff-golang-server-sdk.v0/logger"
"github.com/drone/ff-golang-server-sdk/logger"
"github.com/mitchellh/go-homedir"
)

Expand Down
6 changes: 3 additions & 3 deletions stream/sse.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"log"
"time"

"github.com/drone/ff-golang-server-sdk.v0/cache"
"github.com/drone/ff-golang-server-sdk.v0/dto"
"github.com/drone/ff-golang-server-sdk.v0/rest"
"github.com/drone/ff-golang-server-sdk/cache"
"github.com/drone/ff-golang-server-sdk/dto"
"github.com/drone/ff-golang-server-sdk/rest"
jsoniter "github.com/json-iterator/go"
"github.com/r3labs/sse"
)
Expand Down

0 comments on commit 8e9a4f0

Please sign in to comment.