Files
karma/internal/models/jira.go
Łukasz Mierzwa 6273a5a585 Rewrite flag & env handling to use viper
This adds support for reading configuration from file, env support is still there and legacy env variables will still work, but flags are now following config schema, so they don't match old flags.
Having a config file allows to express more complex configuration options, which is needed for some feature requests.
2017-11-27 20:34:36 -08:00

9 lines
154 B
Go

package models
// JiraRule is used to detect JIRA issue IDs in strings and turn those into
// links
type JiraRule struct {
Regex string
URI string
}