aboutsummaryrefslogtreecommitdiff
path: root/cmd/blog/appengine.go
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2013-09-19 11:11:31 +1000
committerAndrew Gerrand <adg@golang.org>2013-09-19 11:11:31 +1000
commit271841ab79d5163e1520e5b8eee5cf170bfe4aab (patch)
tree06dfbc6bc670cab5346641b8af201a343c4f41a3 /cmd/blog/appengine.go
parent2f455468b9de0f58fa8098177b1806589b537c4b (diff)
go.blog: move cmd/blog to repo root
To be consistent with go.talks/present and go-tour/gotour. R=r CC=golang-dev https://golang.org/cl/13751044
Diffstat (limited to 'cmd/blog/appengine.go')
-rw-r--r--cmd/blog/appengine.go25
1 files changed, 0 insertions, 25 deletions
diff --git a/cmd/blog/appengine.go b/cmd/blog/appengine.go
deleted file mode 100644
index 207a298..0000000
--- a/cmd/blog/appengine.go
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2013 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build appengine
-
-// This file implements an App Engine blog server.
-
-package main
-
-import (
- "net/http"
-
- "code.google.com/p/go.tools/blog"
-)
-
-func init() {
- config.ContentPath = "content/"
- config.TemplatePath = "template/"
- s, err := blog.NewServer(config)
- if err != nil {
- panic(err)
- }
- http.Handle("/", s)
-}