Edit the new zettel and commit the changes

Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
Oliver Davies 2025-09-26 12:17:37 +01:00
parent b2f7f7af7f
commit a344f7a913
2 changed files with 5 additions and 3 deletions

View file

@ -37,6 +37,10 @@ func CreateZet(title string) {
if err != nil {
log.Fatal(err)
}
EditFile(filePath)
onSave(zid)
}
func EditZet(id int) {