summaryrefslogtreecommitdiff
path: root/pkg/db/client.go
blob: 39d3f9e0df83dc69ac3543532627d29bdf5d14f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package db

type Storage[T any] struct {
	dir string
}

func New[T any](dir string) *Storage[T] {
	return &Storage[T]{
		dir: dir,
	}
}

func (db *Storage[T]) Save(item T) error {
	return nil
}