Skip to content

Commit fa0aa8c

Browse files
committed
adding compile time check
1 parent baaab83 commit fa0aa8c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/github/dependencies.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ type BaseDeps struct {
103103
featureChecker inventory.FeatureFlagChecker
104104
}
105105

106+
// Compile-time assertion to verify that BaseDeps implements the ToolDependencies interface.
107+
var _ ToolDependencies = (*BaseDeps)(nil)
108+
106109
// NewBaseDeps creates a BaseDeps with the provided clients and configuration.
107110
func NewBaseDeps(
108111
client *gogithub.Client,

0 commit comments

Comments
 (0)