Skip to content

Commit 958137f

Browse files
committed
Make PillString case insensitive
fixes #21
1 parent f993037 commit 958137f

File tree

4 files changed

+309
-130
lines changed

4 files changed

+309
-130
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ coverage.txt
2626
*.prof
2727

2828
.idea
29+
30+
enumer

enumer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ func (g *Generator) printValueMap(runs [][]Value, typeName string, runsThreshold
9999

100100
for _, value := range values {
101101
g.Printf("\t_%sName%s[%d:%d]: %s,\n", typeName, runID, n, n+len(value.name), &value)
102+
g.Printf("\t_%sLowerName%s[%d:%d]: %s,\n", typeName, runID, n, n+len(value.name), &value)
102103
n += len(value.name)
103104
}
104105
}

0 commit comments

Comments
 (0)