moving to errors

This commit is contained in:
jake 2025-09-08 17:04:22 -04:00
parent a2cb04fd09
commit 20f6e45150

View File

@ -1,11 +1,9 @@
package lite
import (
"fmt"
)
import "errors"
var (
ErrBadFilename error = fmt.Errorf("database filename cannot be empty")
ErrBadFilename error = errors.New("database filename cannot be empty")
)
type Option func(d *database) error