Keep note ownership in frontmatter and shiz
This commit is contained in:
parent
25bcf4d706
commit
03b6bb12ca
6 changed files with 136 additions and 54 deletions
|
|
@ -10,6 +10,7 @@ import (
|
|||
|
||||
"forgejo.gwairfelin.com/max/gonotes/internal/conf"
|
||||
"forgejo.gwairfelin.com/max/gonotes/internal/middleware"
|
||||
"forgejo.gwairfelin.com/max/gonotes/internal/notes"
|
||||
"forgejo.gwairfelin.com/max/gonotes/internal/notes/views"
|
||||
)
|
||||
|
||||
|
|
@ -23,6 +24,11 @@ func main() {
|
|||
|
||||
conf.LoadConfig(confFile)
|
||||
|
||||
err := notes.Init()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
log.SetOutput(os.Stdout)
|
||||
|
||||
router := http.NewServeMux()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue