Skip to content

Commit b38af67

Browse files
authored
docs: use go.dev instead of golang.org (#1632)
1 parent f9673c6 commit b38af67

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ The tool can be extended with custom rules or formatters. This section contains
680680
To extend the linter with a custom rule you can push it to this repository or use `revive` as a library (see below)
681681

682682
To add a custom formatter you'll have to push it to this repository or fork it.
683-
This is due to the limited `-buildmode=plugin` support which [works only on Linux (with known issues)](https://golang.org/pkg/plugin/).
683+
This is due to the limited `-buildmode=plugin` support which [works only on Linux (with known issues)](https://pkg.go.dev/plugin).
684684

685685
### Writing a Custom Rule
686686

RULES_DESCRIPTIONS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ _Configuration_: N/A
219219

220220
_Description_: Explicitly invoking the garbage collector is, except for specific uses in benchmarking, very dubious.
221221

222-
The garbage collector can be configured through environment variables as [described here](https://golang.org/pkg/runtime/).
222+
The garbage collector can be configured through environment variables as [described here](https://pkg.go.dev/runtime).
223223

224224
_Configuration_: N/A
225225

lint/linter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ func retrieveModFile(dir string) (string, error) {
202202
}
203203

204204
// isGenerated reports whether the source file is generated code
205-
// according the rules from https://golang.org/s/generatedcode.
205+
// according to the rules from https://go.dev/s/generatedcode.
206206
// This is inherited from the original go lint.
207207
func isGenerated(src []byte) bool {
208208
sc := bufio.NewScanner(bytes.NewReader(src))

0 commit comments

Comments
 (0)