gitalk icon indicating copy to clipboard operation
gitalk copied to clipboard

Go的50度灰:Golang新开发者要注意的陷阱和常见错误

Open utterances-bot opened this issue 3 years ago • 1 comments

Go的50度灰:Golang新开发者要注意的陷阱和常见错误

原文: 50 Shades of Go: Traps, Gotchas, and Common Mistakes for New Golang Devs翻译: Go的50度灰:新Golang开发者要注意的陷阱、技巧和常见错误, 译者: 影风LEY Go是一门简单有趣的语言,但与其他语言类似,它会有一些技巧。。。这些技巧的绝大部分并不是Go的缺陷造成的。如果你以前使用的是其他

https://colobu.com/2015/09/07/gotchas-and-common-mistakes-in-go-golang/

utterances-bot avatar Aug 10 '22 09:08 utterances-bot

再加一个?
str := "gormgogen" pre := "gorm" result := strings.TrimLeft(str, pre) result的结果是en,而不是gogen

qqxhb avatar Aug 10 '22 09:08 qqxhb