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
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 ~

View File

@ -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)
}
}