fork
This commit is contained in:
parent
02ca5825eb
commit
3c23d869e4
|
@ -1,11 +1,11 @@
|
|||
# Golang Link Header Parser
|
||||
|
||||
Forked from "https://github.com/tomnomnom/linkheader"
|
||||
|
||||
Library for parsing HTTP Link headers. Requires Go 1.6 or higher.
|
||||
|
||||
Docs can be found on [the GoDoc page](https://godoc.org/github.com/tomnomnom/linkheader).
|
||||
|
||||
[![Build Status](https://travis-ci.org/tomnomnom/linkheader.svg)](https://travis-ci.org/tomnomnom/linkheader)
|
||||
|
||||
## Basic Example
|
||||
|
||||
```go
|
||||
|
@ -14,7 +14,7 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/tomnomnom/linkheader"
|
||||
linkheader "git.gutmet.org/linkheader.git"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -31,5 +31,3 @@ func main() {
|
|||
// URL: https://api.github.com/user/58276/repos?page=2; Rel: next
|
||||
// URL: https://api.github.com/user/58276/repos?page=2; Rel: last
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user