Browse Source

add String() method for TokenID

master
Brett Langdon 10 years ago
parent
commit
a108db6903
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      token/id.go

+ 4
- 0
token/id.go View File

@ -62,3 +62,7 @@ const (
ERRORTOKEN
N_TOKENS
)
func (id TokenID) String() string {
return TokenNames[id]
}

Loading…
Cancel
Save