From 8e233ff99c891695e42ad6f82c22111d3f6116d6 Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Sat, 20 Jun 2015 11:14:49 -0400 Subject: [PATCH] use 'valueType' instead of 'this' --- value.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/value.go b/value.go index 241604f..5fa969a 100644 --- a/value.go +++ b/value.go @@ -28,10 +28,10 @@ var valueTypes = [...]string{ SECTION: "SECTION", } -func (this ValueType) String() string { +func (valueType ValueType) String() string { str := "" - if 0 <= this && this < ValueType(len(valueTypes)) { - str = valueTypes[this] + if 0 <= valueType && valueType < ValueType(len(valueTypes)) { + str = valueTypes[valueType] } if str == "" {