Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/copperlight/gowiki
https://github.com/copperlight/gowiki
Last synced: about 5 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/copperlight/gowiki
- Owner: copperlight
- Created: 2022-02-06T03:27:49.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-06T06:51:26.000Z (almost 3 years ago)
- Last Synced: 2024-06-20T19:31:45.257Z (5 months ago)
- Language: Go
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Introduction
Implementation of other tasks from the Go [Writing Web Applications](https://go.dev/doc/articles/wiki/)
Tutorial:* 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).## Local Development
```bash
go build wiki.go
./wiki
open http://localhost:8080
```