Skip to content

Instantly share code, notes, and snippets.

@metaleap
Created June 13, 2013 13:31
Show Gist options
  • Save metaleap/5773697 to your computer and use it in GitHub Desktop.
Save metaleap/5773697 to your computer and use it in GitHub Desktop.
This one does NOT update:
// This is the app handler for running the helloworld Site on Google App Engine
package helloworld
import (
"net/http"
_ "io"
_ "io/ioutil"
_ "log"
_ "sort"
_ "sync"
_ "time"
// _ "github.com/metaleap/go-util"
// _ "github.com/metaleap/go-util/hash"
// _ "github.com/metaleap/go-util/gfx"
// _ "github.com/metaleap/go-util/io"
_ "github.com/metaleap/go-util/net"
_ "github.com/metaleap/go-util/num" // UN-COMMENTED!
// _ "github.com/metaleap/go-util/slice"
// _ "github.com/metaleap/go-util/slice/sort"
// _ "github.com/metaleap/go-util/str"
_ "github.com/goforks/toml"
_ "github.com/gorilla/context"
_ "github.com/gorilla/mux"
leansite "github.com/metaleap/go-leansite"
)
func init() {
leansite.Init("")
http.Handle("/", leansite.Router)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment