terraform-provider-gitea/vendor/github.com/hashicorp/terraform-plugin-go/tfprotov5/string_kind.go
Tobias Trabelsi e1266ebf64
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
continuous-integration/drone/push Build encountered an error
updated GHA
Update to v2 SDK
updated dependencies
2022-08-06 16:21:18 +02:00

26 lines
598 B
Go

package tfprotov5
const (
// StringKindPlain indicates a string is plaintext, and should be
// interpreted as having no formatting information.
StringKindPlain StringKind = 0
// StringKindMarkdown indicates a string is markdown-formatted, and
// should be rendered using a Markdown renderer to correctly display
// its formatting.
StringKindMarkdown StringKind = 1
)
// StringKind indicates a formatting or encoding scheme for a string.
type StringKind int32
func (s StringKind) String() string {
switch s {
case 0:
return "PLAIN"
case 1:
return "MARKDOWN"
}
return "UNKNOWN"
}