str := " dfghhj "
str = strings.TrimSpace(str)
golang 去除字符串首尾空格
猜你喜欢
转载自blog.csdn.net/weixin_43202081/article/details/109743416
今日推荐
周排行