2
0

Use named value instead of literal

This commit is contained in:
Jack Christensen
2017-11-04 13:37:47 -05:00
parent 2b4558fe22
commit e16749774d
+2 -2
View File
@@ -26,8 +26,8 @@ type UntypedTextRange struct {
func ParseUntypedTextRange(src string) (*UntypedTextRange, error) {
utr := &UntypedTextRange{}
if src == "empty" {
utr.LowerType = 'E'
utr.UpperType = 'E'
utr.LowerType = Empty
utr.UpperType = Empty
return utr, nil
}