init commit

This commit is contained in:
2025-06-25 10:35:16 -04:00
commit 9552e197a8
4 changed files with 138 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
package lite
type Option func(d *database)
func WithFile(name string) Option {
return func(d *database) {
d.file = name
}
}
func WithPath(path string) Option {
return func(d *database) {
d.path = path
}
}