mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 07:02:11 +08:00
fix #124
This commit is contained in:
@@ -215,7 +215,7 @@ type B struct {
|
|||||||
|
|
||||||
func (b *B) change() { b.thing = 1 }
|
func (b *B) change() { b.thing = 1 }
|
||||||
|
|
||||||
func (b B) write() string { return fmt.Sprint((b)) }
|
func (b B) write() string { return fmt.Sprint(b) }
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
var b1 B // b1是值
|
var b1 B // b1是值
|
||||||
|
Reference in New Issue
Block a user