str := " dfghhj "
str = strings.TrimSpace(str)
golang remove the first and last spaces of the string
Guess you like
Origin blog.csdn.net/weixin_43202081/article/details/109743416
Recommended
Ranking