initial commit

This commit is contained in:
2026-01-01 21:46:20 +01:00
commit 26a46f92c1
11 changed files with 356 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
package engine
import "fmt"
type JadeDepo struct {
Config *Config
}
func Init(cfgPath, depoPath string) (*JadeDepo, error) {
cfg, err := initConfig(cfgPath, depoPath)
if err != nil {
return nil, fmt.Errorf("failed to initialize config: %w", err)
}
return &JadeDepo{
Config: cfg,
}, nil
}
// AddNote creates a new note in the depository
func AddNote() Note {
}