Skip to content

feat: 通过TX服务器检查URL安全性 #426

feat: 通过TX服务器检查URL安全性

feat: 通过TX服务器检查URL安全性 #426

Triggered via pull request November 14, 2024 17:42
Status Failure
Total duration 36s
Artifacts

test_and_lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
lint: client/packets/oidb/security_url.go#L13
var-naming: type UrlSecurityLevel should be URLSecurityLevel (revive)
lint: client/packets/oidb/security_url.go#L16
var-naming: const UrlSecurityLevelSafe should be URLSecurityLevelSafe (revive)
lint: client/packets/oidb/security_url.go#L17
var-naming: const UrlSecurityLevelUnknown should be URLSecurityLevelUnknown (revive)
lint: client/packets/oidb/security_url.go#L18
var-naming: const UrlSecurityLevelDanger should be URLSecurityLevelDanger (revive)
lint: client/packets/oidb/security_url.go#L32
var-naming: func BuildUrlCheckRequest should be BuildURLCheckRequest (revive)
lint: client/packets/oidb/security_url.go#L51
var-naming: func ParseUrlCheckResponse should be ParseURLCheckResponse (revive)
lint: client/operation.go#L1340
var-naming: method CheckUrlSafely should be CheckURLSafely (revive)
lint: client/packets/oidb/security_url.go#L22
missing cases in switch of type oidb.UrlSecurityLevel: oidb.UrlSecurityLevelUnknown (exhaustive)
lint
issues found