simpledb

package module
v0.0.0-...-bff9391 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

README

simple-db

A study project for learning db

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SaveData

func SaveData(name string, data []byte) error

Types

type KV

type KV[T any] struct {
	// contains filtered or unexported fields
}

func NewKV

func NewKV[T any]() *KV[T]

func (*KV[T]) Get

func (kv *KV[T]) Get(key string) (_ T, _ bool)

func (*KV[T]) Set

func (kv *KV[T]) Set(key string, value T)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL