mirror of
https://github.com/astaxie/beego.git
synced 2024-11-26 07:31:31 +00:00
Merge pull request #3396 from astaxie/FixAnnotationOnSnakeString
Fix #3192
This commit is contained in:
commit
3070cfc60b
@ -198,7 +198,7 @@ func ToInt64(value interface{}) (d int64) {
|
|||||||
return
|
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 {
|
func snakeString(s string) string {
|
||||||
data := make([]byte, 0, len(s)*2)
|
data := make([]byte, 0, len(s)*2)
|
||||||
j := false
|
j := false
|
||||||
|
Loading…
Reference in New Issue
Block a user