You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,23 @@ Installs to `~/.local/bin`. If it's not in your PATH, the script will tell you w
33
33
34
34
### Go
35
35
```bash
36
-
go install github.com/xdevplatform/xurl@latest
36
+
go install github.com/xdevplatform/xurl/cmd/xurl@latest
37
+
```
38
+
39
+
### Use as a Go library
40
+
41
+
Import by module path in other Go projects:
42
+
43
+
```go
44
+
import"github.com/xdevplatform/xurl"
45
+
```
46
+
47
+
If your consuming project uses a local checkout of this repo, you can use a `replace` directive in your `go.mod` while still importing by the full module path:
0 commit comments