"sourcecode.social/reiver/go-pathmatch" -> "github.com/reiver/go-pathmatch"
parent
3d387fb090
commit
0dc31d85af
|
@ -7,15 +7,15 @@ For example, a path could be a file system path, or a path could be a path from
|
|||
|
||||
## Documention
|
||||
|
||||
Online documentation, which includes examples, can be found at: http://godoc.org/sourcecode.social/reiver/go-pathmatch
|
||||
Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-pathmatch
|
||||
|
||||
[![GoDoc](https://godoc.org/sourcecode.social/reiver/go-pathmatch?status.svg)](https://godoc.org/sourcecode.social/reiver/go-pathmatch)
|
||||
[![GoDoc](https://godoc.org/github.com/reiver/go-pathmatch?status.svg)](https://godoc.org/github.com/reiver/go-pathmatch)
|
||||
|
||||
|
||||
## Example Usage
|
||||
```go
|
||||
import (
|
||||
"sourcecode.social/reiver/go-pathmatch"
|
||||
"github.com/reiver/go-pathmatch"
|
||||
)
|
||||
|
||||
// ...
|
||||
|
@ -51,7 +51,7 @@ fmt.Printf("vehicle_id = %q \n", vehicleId) // vehicle_id = "o_bcU.RZGK"
|
|||
Alternatively:
|
||||
```go
|
||||
import (
|
||||
"sourcecode.social/reiver/go-pathmatch"
|
||||
"github.com/reiver/go-pathmatch"
|
||||
)
|
||||
|
||||
// ...
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package pathmatch_test
|
||||
|
||||
import (
|
||||
"sourcecode.social/reiver/go-pathmatch"
|
||||
"github.com/reiver/go-pathmatch"
|
||||
|
||||
"fmt"
|
||||
)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package pathmatch_test
|
||||
|
||||
import (
|
||||
"sourcecode.social/reiver/go-pathmatch"
|
||||
"github.com/reiver/go-pathmatch"
|
||||
|
||||
"fmt"
|
||||
"os"
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module sourcecode.social/reiver/go-pathmatch
|
||||
module github.com/reiver/go-pathmatch
|
||||
|
||||
go 1.20
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ package pathmatch_test
|
|||
|
||||
|
||||
import (
|
||||
"sourcecode.social/reiver/go-pathmatch"
|
||||
"github.com/reiver/go-pathmatch"
|
||||
|
||||
"testing"
|
||||
)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package pathmatch_test
|
||||
|
||||
import (
|
||||
"sourcecode.social/reiver/go-pathmatch"
|
||||
"github.com/reiver/go-pathmatch"
|
||||
|
||||
"testing"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue