package
0.0.0-20240711123734-c091ff3b1106
Repository: https://github.com/hgsgtk/go-snippets.git
Documentation: pkg.go.dev
# README
go-wiki
basic code
Learning at https://golang.org/doc/articles/wiki/
must feature
- login/logout (authentication)
- using gorilla/session
todo to make better
- Store templates in tmpl/ and page data in data/.
- Add a handler to make the web root redirect to /view/FrontPage.
- Spruce up the page templates by making them valid HTML and adding some CSS rules.
- Implement inter-page linking by converting instances of [PageName] to PageName. (hint: you could use regexp.ReplaceAllFunc to do this)
todo to solve problem
- don't use regrep
- replace template engine