Files
moxa/_test/method11.go
2019-05-01 16:40:21 +02:00

18 lines
243 B
Go

package main
func BlockSize() string { return "func" }
type Cipher struct{}
func (c *Cipher) BlockSize() string { return "method" }
func main() {
println(BlockSize())
s := Cipher{}
println(s.BlockSize())
}
// Output:
// func
// method