摘要:
package main import ( "fmt" "sort" ) type SortByGszzl []map[string]string // 设置自定义类型 // 一个内置的排序算法需要知道三个东西: // 1.序列的长度, Len // 2.表示两个元素比较的结果,Less // 3. 阅读全文
posted @ 2021-04-28 10:52
搬砖__码农
阅读(1173)
评论(0)
推荐(0)
摘要:
package main import ( "fmt" "log" "gopkg.in/yaml.v2" ) func test_parse_yaml() { data := []byte(` name: GOLANG say: f: hello b: world say2: - f: hello 阅读全文
posted @ 2021-04-28 00:07
搬砖__码农
阅读(249)
评论(0)
推荐(0)

浙公网安备 33010602011771号