摘要: Go-方法接收器 Go中分为2种接收器:指针类型、非指针类型 指针类型接收器 package main import "fmt" type Property struct { value int } func (p *Property) SetValue(v int) { p.value = v } func (p 阅读全文
posted @ 2022-09-10 22:35 GJH- 阅读(39) 评论(0) 推荐(0)
摘要: Windows-cmd配置GitBash # -i -l 使ll ls命令生效 D:/Dev/Install/Git/bin/bash.exe -i -l 阅读全文
posted @ 2022-09-10 22:31 GJH- 阅读(21) 评论(0) 推荐(0)