Commit 991726c
authored
feat: Move all files from pkg/openfeature to openfeature. (#232)
Move all files from pkg/openfeature to openfeature.
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.
Signed-off-by: Paddy Carver <[email protected]>1 parent 34fb9d9 commit 991726c
File tree
38 files changed
+2044
-1360
lines changed- e2e
- openfeature
- internal
- internal
- memprovider
- pkg/openfeature
- memprovider
38 files changed
+2044
-1360
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments