Browse Source

use 'valueType' instead of 'this'

pull/16/head
Brett Langdon 11 years ago
parent
commit
8e233ff99c
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      value.go

+ 3
- 3
value.go View File

@ -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 == "" {


Loading…
Cancel
Save