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
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,28 @@ import 'github.com/lmittmann/tint': module 'github.com/lmittmann/tint@v1.0.7' do
34
34
```
35
35
36
36
## Hints
37
+
### Allowlist
38
+
39
+
Use `//gosocialcheck:trusted`[directives](https://github.com/AkihiroSuda/gomoddirectivecomments) in `go.mod` to silence alerts for trustworthy modules.
40
+
41
+
e.g.,
42
+
```go-module
43
+
//gosocialcheck:trusted
44
+
require (
45
+
golang.org/x/sync v0.19.0
46
+
)
47
+
```
48
+
49
+
or
50
+
51
+
```go-module
52
+
require (
53
+
golang.org/x/sync v0.19.0 //gosocialcheck:trusted
54
+
)
55
+
```
56
+
57
+
Note: The directive ignores the module version.
58
+
37
59
### GitHub API rate limit
38
60
gosocialcheck uses the GitHub API for the following operations:
0 commit comments