From 580225af6571f4fef52430352d283fe53fb16406 Mon Sep 17 00:00:00 2001 From: Mark McGranaghan Date: Sun, 7 Oct 2012 08:27:07 -0700 Subject: [PATCH] eliminate ~ case --- src/index.txt | 15 --------------- tool/build-html.go | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/index.txt b/src/index.txt index 5b2d348..ecdf206 100644 --- a/src/index.txt +++ b/src/index.txt @@ -60,9 +60,7 @@ string-formatting regexs bytes json -typed-json ~ time -time-formatting ~ epochs elapsed-time random-numbers @@ -74,7 +72,6 @@ base64-encoding ## systems libraries reading-files writing-files -standard-streams ~ line-filters command-line-arguments command-line-flags @@ -87,30 +84,18 @@ exit ## client libraries http-client https-client -streaming-in-http-responses ~ redis postgres -mongodb ~ sending-email ## web apps hello-web -requests ~ responses request-routing request-logging static-content basic-authentication canonical-hosts -post-bodies ~ middleware -streaming-out-http-responses ~ graceful-shutdown https-servers - -## shipping go -using-gofmt ~ -using-godoc ~ -publishing-packages ~ -deploying-to-heroku ~ -deploying-to-appengine ~ diff --git a/tool/build-html.go b/tool/build-html.go index 3fb95a4..05ab5f4 100644 --- a/tool/build-html.go +++ b/tool/build-html.go @@ -192,7 +192,7 @@ func main() { indexLines := strings.Split(string(indexBytes), "\n") indexNames := make([]string, 0) for _, indexLine := range indexLines { - if indexLine != "" && !strings.Contains(indexLine, "#") && !strings.Contains(indexLine, "~") { + if indexLine != "" && !strings.Contains(indexLine, "#") { indexNames = append(indexNames, indexLine) } }