Categorygithub.com/jakub-galecki/godb
repositorypackage
0.0.0-20240901210026-e9c076ffcdc6
Repository: https://github.com/jakub-galecki/godb.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

godb

Implementation inspired by:

Running the source code

Tested on GoLang version:

go version go1.22.5

To run the source code firt clone this repository. After that run go mod tidy to install all required dependecies.

To run all unit tests with their coverage run command ./test.sh

There is also an example of working with database in the directory called example. To run the example, cd into example directory and run GODB_LOG_PATH=/tmp/logs go run main.go. GODB_LOG_PATH specifies the directory where logs generated by the database should be stored.

Instalation

To install the package simply run

go get -u github.com/jakub-galecki/godb

Iterators

Compaction