摘要:
package mainimport ( "fmt")type Test struct {}func (t *Test) Gname() { fmt.Println("test")}func main() { var t *Test t.Gname()}//test 阅读全文
摘要:
例子1 package mainimport ( "awesomeProject/logger" "fmt" "github.com/opencontainers/runtime-tools/filepath" "os")type Goods struct { ID uint MonTs strin 阅读全文