Skip to content

Commit d1b2aae

Browse files
committed
yeye
1 parent 80a983d commit d1b2aae

File tree

1 file changed

+20
-6
lines changed

1 file changed

+20
-6
lines changed

README.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ go install github.com/psyb0t/gofindimpl@latest
1313

1414
### Option 2: Run directly (no installation needed)
1515
```bash
16-
go run github.com/psyb0t/gofindimpl@latest -interface ./path/to/file.go:InterfaceName -dir ./search/directory
16+
go run github.com/psyb0t/gofindimpl@latest \
17+
-interface ./path/to/file.go:InterfaceName \
18+
-dir ./search/directory
1719
```
1820

1921
### Option 3: Clone and build like it's 2005
@@ -28,13 +30,17 @@ go build -o gofindimpl
2830
### Basic Hunt (installed)
2931

3032
```bash
31-
gofindimpl -interface ./path/to/file.go:InterfaceName -dir ./search/directory
33+
gofindimpl \
34+
-interface ./path/to/file.go:InterfaceName \
35+
-dir ./search/directory
3236
```
3337

3438
### Basic Hunt (direct run)
3539

3640
```bash
37-
go run github.com/psyb0t/gofindimpl@latest -interface ./path/to/file.go:InterfaceName -dir ./search/directory
41+
go run github.com/psyb0t/gofindimpl@latest \
42+
-interface ./path/to/file.go:InterfaceName \
43+
-dir ./search/directory
3844
```
3945

4046
### Real Example (installed)
@@ -46,17 +52,25 @@ gofindimpl -interface ./internal/app/server.go:Server -dir ./internal/pkg/
4652
### Real Example (direct run)
4753

4854
```bash
49-
go run github.com/psyb0t/gofindimpl@latest -interface ./internal/app/server.go:Server -dir ./internal/pkg/
55+
go run github.com/psyb0t/gofindimpl@latest \
56+
-interface ./internal/app/server.go:Server \
57+
-dir ./internal/pkg/
5058
```
5159

5260
### With Debug Logging (for masochists)
5361

5462
```bash
5563
# Installed
56-
gofindimpl -interface ./internal/app/server.go:Server -dir ./internal/pkg/ -debug
64+
gofindimpl \
65+
-interface ./internal/app/server.go:Server \
66+
-dir ./internal/pkg/ \
67+
-debug
5768

5869
# Direct run
59-
go run github.com/psyb0t/gofindimpl@latest -interface ./internal/app/server.go:Server -dir ./internal/pkg/ -debug
70+
go run github.com/psyb0t/gofindimpl@latest \
71+
-interface ./internal/app/server.go:Server \
72+
-dir ./internal/pkg/ \
73+
-debug
6074
```
6175

6276
## Output Format 📋

0 commit comments

Comments
 (0)