Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/copperlight/gowiki


https://github.com/copperlight/gowiki

Last synced: about 5 hours ago
JSON representation

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
```