shad-go/illegal/internal/struct.go

15 lines
169 B
Go
Raw Normal View History

2022-02-10 22:06:57 +00:00
//go:build !change
2021-04-14 15:41:01 +00:00
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)
}