adding welcome

This commit is contained in:
2026-01-12 16:21:38 +00:00
parent 3e56b7b12f
commit da3870250b
2 changed files with 2 additions and 4 deletions

View File

@@ -47,6 +47,7 @@ func (notes *Notes) GetNote(path string) (*Note, error) {
return nil, ErrPathTraversal
}
fullPath += ".md"
data, err := os.ReadFile(fullPath)
if err != nil {
return nil, err