shad-go/illegal/internal/struct.go
2022-02-10 22:06:57 +00:00

15 lines
187 B
Go

//go:build !change
// +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)
}