mirror of
https://github.com/kataras/iris.git
synced 2026-07-31 00:19:50 +00:00
feat(token): add String() method to token Type
Add String() method to the token Type that returns the human-readable name
of the token (e.g., "LBRACE" for '{'), with fallback to numeric value for
unknown types. Also add typeNames map for token type name lookups.
This commit is contained in:
@@ -22,7 +22,7 @@ require (
|
||||
github.com/iris-contrib/schema v0.0.6
|
||||
github.com/json-iterator/go v1.1.12
|
||||
github.com/kataras/blocks v0.0.8
|
||||
github.com/kataras/golog v0.1.15
|
||||
github.com/kataras/golog v0.1.12
|
||||
github.com/kataras/jwt v0.1.17
|
||||
github.com/kataras/neffos v0.0.24
|
||||
github.com/kataras/pio v0.0.13
|
||||
|
||||
Reference in New Issue
Block a user