summaryrefslogtreecommitdiff
path: root/doc/codelab/wiki/htmlify.go
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2012-02-27 11:25:43 +1100
committerAndrew Gerrand <adg@golang.org>2012-02-27 11:25:43 +1100
commitcd1a2f7e74b9a697cacfeee971cdba506b032eb2 (patch)
tree731f0c3d00df3864653c9407b7b36696e1d05d3e /doc/codelab/wiki/htmlify.go
parentb49dcb9d37cd5856fe273a0ceb56e70ce03e969f (diff)
downloadgo-git-cd1a2f7e74b9a697cacfeee971cdba506b032eb2.tar.gz
doc: move wiki tutorial into articles directory, rmdir doc/codelab
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5701050
Diffstat (limited to 'doc/codelab/wiki/htmlify.go')
-rw-r--r--doc/codelab/wiki/htmlify.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/doc/codelab/wiki/htmlify.go b/doc/codelab/wiki/htmlify.go
deleted file mode 100644
index 2a845a1740..0000000000
--- a/doc/codelab/wiki/htmlify.go
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright 2010 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.
-
-package main
-
-import (
- "io/ioutil"
- "os"
- "text/template"
-)
-
-func main() {
- b, _ := ioutil.ReadAll(os.Stdin)
- template.HTMLEscape(os.Stdout, b)
-}