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
- pattern: ^context\.WithCancel(# use context\.WithCancelCause instead)?$
51
+
- pattern: ^context\.WithDeadline(# use context\.WithDeadline instead)?$
52
+
- pattern: ^context\.WithTimeout(# use context\.WithTimeoutCause instead)?$
53
+
- pattern: ^ctx\.Err(# use context\.Cause instead)?$
54
+
- pattern: ^fmt\.Errorf(# use errors\.Errorf instead)?$
55
+
- pattern: ^logrus\.(Trace|Debug|Info|Warn|Warning|Error|Fatal)(f|ln)?(# use bklog\.G or bklog\.L instead of logrus directly)?$
56
+
- pattern: ^platforms\.DefaultString(# use platforms\.Format(platforms\.DefaultSpec()) instead\. Be aware that DefaultSpec is for the local platform, so must be avoided when working cross-platform)?$
- '^context\.WithCancel(# use context\.WithCancelCause instead)?$'
70
-
- '^context\.WithDeadline(# use context\.WithDeadline instead)?$'
71
-
- '^context\.WithTimeout(# use context\.WithTimeoutCause instead)?$'
72
-
- '^ctx\.Err(# use context\.Cause instead)?$'
73
-
- '^fmt\.Errorf(# use errors\.Errorf instead)?$'
74
-
- '^logrus\.(Trace|Debug|Info|Warn|Warning|Error|Fatal)(f|ln)?(# use bklog\.G or bklog\.L instead of logrus directly)?$'
75
-
- '^platforms\.DefaultString(# use platforms\.Format(platforms\.DefaultSpec()) instead\. Be aware that DefaultSpec is for the local platform, so must be avoided when working cross-platform)?$'
76
-
importas:
77
-
alias:
78
-
# Enforce alias to prevent it accidentally being used instead of our
0 commit comments