Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package main
import (
"fmt"

"github.com/sukujgrg/browser"
"github.com/credbind/browser"
)

func launchLogin() error {
Expand All @@ -28,7 +28,7 @@ func launchLogin() error {
Install it with:

```sh
go get github.com/sukujgrg/browser
go get github.com/credbind/browser
```

## Try it
Expand Down Expand Up @@ -74,7 +74,7 @@ Use the browser's Windows executable through its `/mnt/c` path:

```sh
BROWSER='/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe' \
go run ./example/open https://github.com/sukujgrg/browser
go run ./example/open https://github.com/credbind/browser
```

### Windows PowerShell
Expand All @@ -83,7 +83,7 @@ Set `BROWSER` in the PowerShell environment before running the example:

```powershell
$env:BROWSER = "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"
go run .\example\open https://github.com/sukujgrg/browser
go run .\example\open https://github.com/credbind/browser
```

The value is treated as one executable path, not as a shell command. The URL is
Expand Down
6 changes: 3 additions & 3 deletions example/go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/sukujgrg/browser/example
module github.com/credbind/browser/example

go 1.22

require github.com/sukujgrg/browser v0.0.0
require github.com/credbind/browser v0.0.0

replace github.com/sukujgrg/browser => ../
replace github.com/credbind/browser => ../
2 changes: 1 addition & 1 deletion example/open/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"os"

"github.com/sukujgrg/browser"
"github.com/credbind/browser"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/sukujgrg/browser
module github.com/credbind/browser

go 1.22