mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-27 09:21:14 -06:00
5daeee5f6d
The latest version of stringer now uses strconv instead of fmt.
22 lines
370 B
Go
22 lines
370 B
Go
// Code generated by "stringer -type=Severity"; DO NOT EDIT.
|
|
|
|
package tfdiags
|
|
|
|
import "strconv"
|
|
|
|
const (
|
|
_Severity_name_0 = "Error"
|
|
_Severity_name_1 = "Warning"
|
|
)
|
|
|
|
func (i Severity) String() string {
|
|
switch {
|
|
case i == 69:
|
|
return _Severity_name_0
|
|
case i == 87:
|
|
return _Severity_name_1
|
|
default:
|
|
return "Severity(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
}
|