Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
The beginnings of the attributes server
package main
// loading in the Martini package
import ""
func main() {
// if you are new to Go the := is a short variable declaration
m := martini.Classic()
// the func() call is creating an anonymous function that retuns a stringa
m.Get("/", func() string {
return "Where are the attributes?!?!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment