How to determine if a string contains a substring? (in a template) #4548
-
I'm using a mix of go-semantic-release and goreleaser to ship a CLI. As part of this, I will expect my release notes to include specific text to indicate that there are breaking changes (as can be seen in https://gitlab.com/tanna.dev/dependency-management-data/-/releases/v0.71.0) I'm looking to indicate within the Slack announcement as to whether there's any breaking changes by looking up the string in Is it possible to do this? I.e. in Hugo I'd use https://gohugo.io/functions/strings/contains/ but I can't see a similar function |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
just added it in 5d44ed1 will be in 1.24 and on next nightly builds Thanks for the suggestion :) |
Beta Was this translation helpful? Give feedback.
just added it in 5d44ed1
will be in 1.24 and on next nightly builds
Thanks for the suggestion :)