Removes Go 1.0 and 1.1 from Travis config
This commit is contained in:
parent
9cb23279f5
commit
e8b35c877d
|
@ -1,8 +1,6 @@
|
|||
language: go
|
||||
|
||||
go:
|
||||
- 1.0
|
||||
- 1.1
|
||||
- 1.2
|
||||
- 1.3
|
||||
- 1.4
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Golang Link Header Parser
|
||||
|
||||
Library for parsing HTTP Link headers.
|
||||
Library for parsing HTTP Link headers. Requires Go 1.2 or higher.
|
||||
|
||||
Docs can be found on [the GoDoc page](https://godoc.org/github.com/TomNomNom/linkheader).
|
||||
|
||||
|
@ -9,6 +9,8 @@ Docs can be found on [the GoDoc page](https://godoc.org/github.com/TomNomNom/lin
|
|||
## Basic Example
|
||||
|
||||
```go
|
||||
import "github.com/tomnomnom/linkheader"
|
||||
|
||||
header := "<https://api.github.com/user/58276/repos?page=2>; rel=\"next\"," +
|
||||
"<https://api.github.com/user/58276/repos?page=2>; rel=\"last\""
|
||||
links := linkheader.Parse(header)
|
||||
|
|
Loading…
Reference in New Issue
Block a user