diff options
Diffstat (limited to 'core')
| -rw-r--r-- | core/namespace.go | 5 | ||||
| -rw-r--r-- | core/state_backend.go | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/core/namespace.go b/core/namespace.go new file mode 100644 index 0000000..e505109 --- /dev/null +++ b/core/namespace.go | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | package core | ||
| 2 | |||
| 3 | |||
| 4 | |||
| 5 | type VoidNamespace struct {} | ||
diff --git a/core/state_backend.go b/core/state_backend.go index 9f9f397..5870739 100644 --- a/core/state_backend.go +++ b/core/state_backend.go | |||
| @@ -15,7 +15,7 @@ type StateBackend interface { | |||
| 15 | 15 | ||
| 16 | // For User === | 16 | // For User === |
| 17 | // GetValueState will perform in disk | 17 | // GetValueState will perform in disk |
| 18 | GetValueState(ctx context.Context, key string) (ValueState[any], error) | 18 | GetValueState(ctx context.Context, statename string) (ValueState[any], error) |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | type stateBackendKeyType struct{} | 21 | type stateBackendKeyType struct{} |
