Golang
文章平均质量分 60
北极之狼
学习
展开
-
GOLANG/GO环境的配置笔记
GO/Golang环境配置ENV的设置原创 2022-06-09 20:25:51 · 1157 阅读 · 0 评论 -
Golang 笔记(个人记录,欢迎吐槽)
Golang 字符串去空格 去空,去重, 转数组数组func RemoveDuplicatesAndEmpty(Str string) []string { slc := strings.Split(strings.Replace(Str, " ", "", -1), ",") var result []string tempMap := map[string]byte{} for _, e := range slc { lastLen := len(tempMap) tempMap[e]原创 2022-02-09 11:15:52 · 574 阅读 · 0 评论