eliminate ~ case

This commit is contained in:
Mark McGranaghan 2012-10-07 08:27:07 -07:00
parent 7a6abff9f9
commit 580225af65
2 changed files with 1 additions and 16 deletions

View File

@ -60,9 +60,7 @@ string-formatting
regexs regexs
bytes bytes
json json
typed-json ~
time time
time-formatting ~
epochs epochs
elapsed-time elapsed-time
random-numbers random-numbers
@ -74,7 +72,6 @@ base64-encoding
## systems libraries ## systems libraries
reading-files reading-files
writing-files writing-files
standard-streams ~
line-filters line-filters
command-line-arguments command-line-arguments
command-line-flags command-line-flags
@ -87,30 +84,18 @@ exit
## client libraries ## client libraries
http-client http-client
https-client https-client
streaming-in-http-responses ~
redis redis
postgres postgres
mongodb ~
sending-email sending-email
## web apps ## web apps
hello-web hello-web
requests ~
responses responses
request-routing request-routing
request-logging request-logging
static-content static-content
basic-authentication basic-authentication
canonical-hosts canonical-hosts
post-bodies ~
middleware middleware
streaming-out-http-responses ~
graceful-shutdown graceful-shutdown
https-servers https-servers
## shipping go
using-gofmt ~
using-godoc ~
publishing-packages ~
deploying-to-heroku ~
deploying-to-appengine ~

View File

@ -192,7 +192,7 @@ func main() {
indexLines := strings.Split(string(indexBytes), "\n") indexLines := strings.Split(string(indexBytes), "\n")
indexNames := make([]string, 0) indexNames := make([]string, 0)
for _, indexLine := range indexLines { for _, indexLine := range indexLines {
if indexLine != "" && !strings.Contains(indexLine, "#") && !strings.Contains(indexLine, "~") { if indexLine != "" && !strings.Contains(indexLine, "#") {
indexNames = append(indexNames, indexLine) indexNames = append(indexNames, indexLine)
} }
} }