Merge pull request #3396 from astaxie/FixAnnotationOnSnakeString

Fix #3192
This commit is contained in:
astaxie 2018-11-18 21:59:35 +08:00 committed by GitHub
commit 3070cfc60b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ func ToInt64(value interface{}) (d int64) {
return
}
// snake string, XxYy to xx_yy , XxYY to xx_yy
// snake string, XxYy to xx_yy , XxYY to xx_y_y
func snakeString(s string) string {
data := make([]byte, 0, len(s)*2)
j := false