We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10e9c07 commit 6689c36Copy full SHA for 6689c36
internal/builder/config.go
@@ -42,6 +42,7 @@ type Config struct {
42
Receivers []Module `mapstructure:"receivers"`
43
Processors []Module `mapstructure:"processors"`
44
Replaces []string `mapstructure:"replaces"`
45
+ Excludes []string `mapstructure:"excludes"`
46
}
47
48
// Distribution holds the parameters for the final binary
internal/scaffold/gomod.go
@@ -50,4 +50,7 @@ require (
50
{{- range .Replaces}}
51
replace {{.}}
52
{{- end}}
53
+{{- range .Excludes}}
54
+exclude {{.}}
55
+{{- end}}
56
`
0 commit comments