restructure project following best practices
https://go.dev/doc/modules/layout This also enables us to later import just the db interaction part say to the gemini capsule backend go project.
This commit is contained in:
parent
928c82536f
commit
360fedbebe
11 changed files with 202 additions and 169 deletions
15
internal/ui/templates.go
Normal file
15
internal/ui/templates.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package ui
|
||||
|
||||
const defaultTemplate = `title: todo
|
||||
date: 2025-12-31
|
||||
slug: todo
|
||||
tags: cat, dog
|
||||
---
|
||||
|
||||
Example text
|
||||
|
||||
=> https://travisshears.com example link
|
||||
|
||||
* Example list item 1
|
||||
* Example list item 2
|
||||
`
|
||||
Loading…
Add table
Add a link
Reference in a new issue