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 }