shad-go/illegal/internal/struct.go
2022-03-15 23:49:56 +03:00

14 lines
169 B
Go

//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)
}