Skip to content

Commit f605595

Browse files
committed
make vendor
1 parent 9194952 commit f605595

File tree

16 files changed

+469
-161
lines changed

16 files changed

+469
-161
lines changed

vendor/github.com/mvdan/xurls/.travis.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

vendor/github.com/mvdan/xurls/README.md

Lines changed: 0 additions & 40 deletions
This file was deleted.

vendor/github.com/mvdan/xurls/regex.go

Lines changed: 0 additions & 8 deletions
This file was deleted.

vendor/github.com/mvdan/xurls/schemes.go

Lines changed: 0 additions & 17 deletions
This file was deleted.

vendor/github.com/mvdan/xurls/xurls.go

Lines changed: 0 additions & 67 deletions
This file was deleted.

vendor/modules.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,6 @@ github.com/mrjones/oauth
246246
github.com/mschoch/smat
247247
# github.com/msteinert/pam v0.0.0-20151204160544-02ccfbfaf0cc
248248
github.com/msteinert/pam
249-
# github.com/mvdan/xurls v1.1.0
250-
github.com/mvdan/xurls
251249
# github.com/nfnt/resize v0.0.0-20160724205520-891127d8d1b5
252250
github.com/nfnt/resize
253251
# github.com/pelletier/go-buffruneio v0.2.0
@@ -456,5 +454,7 @@ gopkg.in/testfixtures.v2
456454
gopkg.in/warnings.v0
457455
# gopkg.in/yaml.v2 v2.2.1
458456
gopkg.in/yaml.v2
457+
# mvdan.cc/xurls/v2 v2.0.0
458+
mvdan.cc/xurls/v2
459459
# strk.kbt.io/projects/go/libravatar v0.0.0-20160628055650-5eed7bff870a
460460
strk.kbt.io/projects/go/libravatar

vendor/mvdan.cc/xurls/v2/.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: go
2+
3+
go:
4+
- 1.10.x
5+
- 1.11.x
6+
7+
go_import_path: mvdan.cc/xurls
8+
9+
env:
10+
- GO111MODULE=on
11+
12+
install: true
13+
14+
script:
15+
- go get -t -d ./...
16+
- go build ./...
17+
- go test ./...

vendor/mvdan.cc/xurls/v2/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# xurls
2+
3+
[![GoDoc](https://godoc.org/mvdan.cc/xurls?status.svg)](https://godoc.org/mvdan.cc/xurls)
4+
[![Travis](https://travis-ci.org/mvdan/xurls.svg?branch=master)](https://travis-ci.org/mvdan/xurls)
5+
6+
Extract urls from text using regular expressions. Requires Go 1.10.3 or later.
7+
8+
```go
9+
import "mvdan.cc/xurls/v2"
10+
11+
func main() {
12+
xurls.Relaxed().FindString("Do gophers live in golang.org?")
13+
// "golang.org"
14+
xurls.Strict().FindAllString("foo.com is http://foo.com/.", -1)
15+
// []string{"http://foo.com/"}
16+
}
17+
```
18+
19+
Note that the funcs compile regexes, so avoid calling them repeatedly.
20+
21+
#### cmd/xurls
22+
23+
go get -u mvdan.cc/xurls/v2/cmd/xurls
24+
25+
```shell
26+
$ echo "Do gophers live in http://golang.org?" | xurls
27+
http://golang.org
28+
```

vendor/mvdan.cc/xurls/v2/go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module mvdan.cc/xurls/v2

vendor/mvdan.cc/xurls/v2/go.sum

Whitespace-only changes.

0 commit comments

Comments
 (0)