Skip to content

Commit

Permalink
Move all files from pkg/openfeature to openfeature.
Browse files Browse the repository at this point in the history
Move the package from being
github.com/open-feature/go-sdk/pkg/openfeature, which has an unnecessary
pkg in the import path, to github.com/open-feature/go-sdk/openfeature,
without the unnecessary "pkg" in the import path.

The existing github.com/open-feature/go-sdk/pkg/openfeature package is
now a compatibility shell; exported types, constants, variables, and
functions are now aliased to the new
github.com/open-feature/go-sdk/openfeature equivalents in a way that
will pass equality checks, and types are interchangeable between both
packages. No logic or tests live in the package anymore, only the
exported identifiers, which call through to the new package for
behavior.

The memprovider package, similarly, has moved.
  • Loading branch information
paddycarver committed Nov 15, 2023
1 parent 34fb9d9 commit a0aea8c
Show file tree
Hide file tree
Showing 35 changed files with 2,033 additions and 1,349 deletions.
2 changes: 1 addition & 1 deletion pkg/openfeature/api.go → openfeature/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"sync"

"github.com/go-logr/logr"
"github.com/open-feature/go-sdk/pkg/openfeature/internal"
"github.com/open-feature/go-sdk/openfeature/internal"
"golang.org/x/exp/maps"
)

Expand Down
Loading

0 comments on commit a0aea8c

Please sign in to comment.