strings包中的一些方法被废弃被其它代替 strings.Title方法被废弃 具体参考这篇文章,这里我就就不再详细写了 Go strings.Title方法被废弃(Deprecated)_go deprecated-CSDN博客