Skip to content

Commit 14b3ed3

Browse files
authored
Fix broken links in Go detector doc (#1329)
1 parent a3a2c6e commit 14b3ed3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/detectors/go.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ on the build agent. If no Go v1.11+ is present, fallback detection
1717
strategy is performed.
1818

1919
Go detection is performed by parsing output from executing
20-
[go list -mod=readonly -m -json all](1). To generate the graph, the command
21-
[go mod graph](2) is executed. This only adds edges between the components
20+
[go list -mod=readonly -m -json all][1]. To generate the graph, the command
21+
[go mod graph][2] is executed. This only adds edges between the components
2222
that were already registered by `go list`.
2323

2424
## Fallback Detection strategy
@@ -44,7 +44,7 @@ strategy. The full graph is not detected.
4444

4545
Go detection is performed by only scanning the `go.mod` files. This
4646
reduces over reporting dependencies. The `go.mod` file contains all
47-
dependencies, including transitive ones. [^3]
47+
dependencies, including transitive ones. [<sup>3</sup>][3]
4848

4949
Similarly, no graph is generated.
5050

@@ -160,7 +160,7 @@ manages external packages and dependencies.
160160
### `go.mod` File
161161

162162
The `go.mod` file, short for "module file," is a fundamental component
163-
of Go's module system.[^4] It serves several crucial purposes:
163+
of Go's module system.[<sup>4</sup>][4] It serves several crucial purposes:
164164

165165
1. **Module Definition**: The `go.mod` file defines the module name,
166166
which uniquely identifies the project. The module name typically
@@ -206,7 +206,7 @@ of Go's module system.[^4] It serves several crucial purposes:
206206
The `go.sum` file, short for "checksum file," is used for ensuring the
207207
integrity and security of dependencies. It contains checksums
208208
(cryptographic hashes) of specific versions of packages listed in the
209-
`go.mod` file.[^5] The `go.sum` file serves the following purposes:
209+
`go.mod` file.[<sup>5</sup>][5] The `go.sum` file serves the following purposes:
210210
211211
1. **Cryptographic Verification**: When Go downloads a package
212212
specified in the `go.mod` file, it verifies the downloaded

0 commit comments

Comments
 (0)