rest.go example server
provides a mapping from 2-char weekday identifies to the full weekday names
index and id-get functionality only for simplicity
Prerequirements
$ go get github.com/Kissaki/rest.go
To compile:
$ go build weekdays.go
To run:
$ ./weekdays
When run can be opened in a webbrowser:
http://localhost:3000/wd/ for index, showing all entries as logic of the Index function specifies
http://localhost:3000/wd/We get full string for index We (other indices from map also possible)