Skip to content

Commit

Permalink
Drop Go 1.0 from travis.yml, not supported
Browse files Browse the repository at this point in the history
* Go 1.0 net/url ResolveReference behaved differently and did not
meet RFC 3986 with regard to '..' collapsing, empty strings, etc.
* golang/go#4706
  • Loading branch information
dghubble committed Apr 6, 2015
1 parent 44cb02e commit fbfa4b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion .travis.yml
@@ -1,6 +1,5 @@
language: go
go:
- 1.0
- 1.1
- 1.2
- 1.3
Expand Down
9 changes: 4 additions & 5 deletions sling.go
Expand Up @@ -39,12 +39,11 @@ func New() *Sling {
// Copy Creation

// New returns a copy of the Sling. This is useful for creating a new,
// mutable Sling with properties from a base Sling.
// mutable Sling with properties from a base Sling. For example,
//
// For example,
// baseSling := sling.New().Client(client).Base("https://api.io/")
// fooSling := baseSling.New().Get("foo/")
// barSling := baseSling.New().Get("bar/")
// baseSling := sling.New().Client(client).Base("https://api.io/")
// fooSling := baseSling.New().Get("foo/")
// barSling := baseSling.New().Get("bar/")
//
// fooSling and barSling will send requests to https://api.io/foo/ and
// https://api.io/bar/ respectively and baseSling is unmodified.
Expand Down

0 comments on commit fbfa4b8

Please sign in to comment.