hclpack: Update ExprSourceType.String to include ExprLiteralJSON
This commit is contained in:
parent
12378af8b3
commit
0467c0c38c
@ -5,16 +5,19 @@ package hclpack
|
||||
import "strconv"
|
||||
|
||||
const (
|
||||
_ExprSourceType_name_0 = "ExprNative"
|
||||
_ExprSourceType_name_1 = "ExprTemplate"
|
||||
_ExprSourceType_name_0 = "ExprLiteralJSON"
|
||||
_ExprSourceType_name_1 = "ExprNative"
|
||||
_ExprSourceType_name_2 = "ExprTemplate"
|
||||
)
|
||||
|
||||
func (i ExprSourceType) String() string {
|
||||
switch {
|
||||
case i == 78:
|
||||
case i == 76:
|
||||
return _ExprSourceType_name_0
|
||||
case i == 84:
|
||||
case i == 78:
|
||||
return _ExprSourceType_name_1
|
||||
case i == 84:
|
||||
return _ExprSourceType_name_2
|
||||
default:
|
||||
return "ExprSourceType(" + strconv.FormatInt(int64(i), 10) + ")"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user