Skip to content

Commit

Permalink
Mv config internal (#1036)
Browse files Browse the repository at this point in the history
  • Loading branch information
markphelps authored Sep 22, 2022
1 parent 71e3026 commit 073d08f
Show file tree
Hide file tree
Showing 25 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
.github/
.vscode/
.task/
Dockerfile
Dockerfile*
LICENSE
bin/
examples/
Expand Down
2 changes: 1 addition & 1 deletion cmd/flipt/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
"github.com/phyber/negroni-gzip/gzip"
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/spf13/cobra"
"go.flipt.io/flipt/config"
"go.flipt.io/flipt/internal/config"
"go.flipt.io/flipt/internal/info"
"go.flipt.io/flipt/internal/telemetry"
pb "go.flipt.io/flipt/rpc/flipt"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion internal/telemetry/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"time"

"github.com/gofrs/uuid"
"go.flipt.io/flipt/config"
"go.flipt.io/flipt/internal/config"
"go.flipt.io/flipt/internal/info"
"go.uber.org/zap"
"gopkg.in/segmentio/analytics-go.v3"
Expand Down
2 changes: 1 addition & 1 deletion internal/telemetry/telemetry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.flipt.io/flipt/config"
"go.flipt.io/flipt/internal/config"
"go.flipt.io/flipt/internal/info"
"go.uber.org/zap/zaptest"

Expand Down
2 changes: 1 addition & 1 deletion server/cache/memory/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"sync/atomic"

gocache "github.com/patrickmn/go-cache"
"go.flipt.io/flipt/config"
"go.flipt.io/flipt/internal/config"
"go.flipt.io/flipt/server/cache"
)

Expand Down
2 changes: 1 addition & 1 deletion server/cache/memory/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

"github.com/stretchr/testify/assert"
"go.flipt.io/flipt/config"
"go.flipt.io/flipt/internal/config"
)

func TestNewCache(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion server/cache/redis/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"sync/atomic"

redis "github.com/go-redis/cache/v8"
"go.flipt.io/flipt/config"
"go.flipt.io/flipt/internal/config"
"go.flipt.io/flipt/server/cache"
)

Expand Down
2 changes: 1 addition & 1 deletion server/cache/redis/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/testcontainers/testcontainers-go"
"github.com/testcontainers/testcontainers-go/wait"
"go.flipt.io/flipt/config"
"go.flipt.io/flipt/internal/config"
)

func TestSet(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion server/middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"testing"
"time"

"go.flipt.io/flipt/config"
"go.flipt.io/flipt/errors"
"go.flipt.io/flipt/internal/config"
flipt "go.flipt.io/flipt/rpc/flipt"
"go.flipt.io/flipt/server/cache/memory"
"go.flipt.io/flipt/storage"
Expand Down
2 changes: 1 addition & 1 deletion storage/sql/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/luna-duclos/instrumentedsql/opentracing"
"github.com/mattn/go-sqlite3"
"github.com/xo/dburl"
"go.flipt.io/flipt/config"
"go.flipt.io/flipt/internal/config"
)

// Open opens a connection to the db
Expand Down
2 changes: 1 addition & 1 deletion storage/sql/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/golang-migrate/migrate/database/sqlite3"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.flipt.io/flipt/config"
"go.flipt.io/flipt/internal/config"
"go.flipt.io/flipt/storage"
"go.flipt.io/flipt/storage/sql/mysql"
"go.flipt.io/flipt/storage/sql/postgres"
Expand Down
2 changes: 1 addition & 1 deletion storage/sql/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type statsGetter interface {
Stats() sql.DBStats
}

//nolint
// nolint
func registerMetrics(d Driver, s statsGetter) {
labels := prometheus.Labels{"driver": d.String()}

Expand Down
2 changes: 1 addition & 1 deletion storage/sql/migrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/golang-migrate/migrate/database/mysql"
"github.com/golang-migrate/migrate/database/postgres"
"github.com/golang-migrate/migrate/database/sqlite3"
"go.flipt.io/flipt/config"
"go.flipt.io/flipt/internal/config"
"go.uber.org/zap"
)

Expand Down

0 comments on commit 073d08f

Please sign in to comment.