This commit is contained in:
Mark McGranaghan 2012-10-26 07:37:43 -07:00
parent 0d0ceb7956
commit e68ed720a5

View File

@ -1,4 +1,4 @@
// URLs provide a [uniform way to locating resources](http://adam.heroku.com/past/2010/3/30/urls_are_the_uniform_way_to_locate_resources/). // URLs provide a [uniform way to locate resources](http://adam.heroku.com/past/2010/3/30/urls_are_the_uniform_way_to_locate_resources/).
// Here's how to parse URLs in Go. // Here's how to parse URLs in Go.
package main package main
@ -20,7 +20,7 @@ func main() {
panic(err) panic(err)
} }
// Access to the scheme is straightforward. // Accessing the scheme is straightforward.
fmt.Println(u.Scheme) fmt.Println(u.Scheme)
// `User` contains all authentication info; call // `User` contains all authentication info; call