shad-go/illegal/internal/struct.go

15 lines
168 B
Go
Raw Normal View History

2021-04-14 15:41:01 +00:00
// +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)
}