weekdays

command
v0.0.0-...-87f56a9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2012 License: MIT Imports: 4 Imported by: 0

README

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

Documentation

Overview

Example REST server

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL