Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bufbuild/buf-examples
/ main
Function
main
bsr/buf-check-plugin/example-go-code/main.go:35–41 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
33
)
34
35
func
main() {
36
check.Main(&check.Spec{
37
Rules: []*check.RuleSpec{
38
rpcSuffixRuleSpec,
39
},
40
})
41
}
42
43
func
checkRPCSuffix(
44
_ context.Context,
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected