shad-go/illegal/internal/struct.go
2021-04-14 18:41:01 +03:00

14 lines
168 B
Go

// +build !change
package internal
import "fmt"
type Struct struct {
a int
b string
}
func (s *Struct) String() string {
return fmt.Sprintf("%d %s", s.a, s.b)
}