面向对象的封装
package main import "fmt" type Hero struct { Name string Ad int Level int } func (this Hero) Show(){ fmt.Println("Name = ", this.Name) fmt.Println("Ad = ", this.Ad) fmt.Println("Level = ", this.Level) } func (