Files
dailz 0fe1530e25 feat: integrate DB with Open/Close/Put/Delete/Get
- Add db.go with DB struct: Open/Close/Put/Delete/Get/GetDurableSequence/IsWriteStopped
- Add db_test.go with lifecycle, put/get, delete, recovery, and corruption tests
- Extract sentinel errors to errkit/ leaf package to break import cycle (wal -> go_kv)
- Update wal/sequence.go, wal/writer.go to import errkit instead of root package
- Root errors.go re-exports from errkit for backward compatibility

Phase 1 Wave 4d complete (T19).
2026-06-12 14:10:56 +08:00

12 lines
305 B
Go

package go_kv
import "github.com/dailz/go-kv/errkit"
var (
ErrCommitUnknown = errkit.ErrCommitUnknown
ErrWriteStopped = errkit.ErrWriteStopped
ErrSequenceExhausted = errkit.ErrSequenceExhausted
ErrWALCorrupted = errkit.ErrWALCorrupted
ErrInvalidConfig = errkit.ErrInvalidConfig
)