blob: 05b35ddea601a5d3ab6dde867bc02d2c6cf8813a [file] [log] [blame]
package main
import "fmt"
func main() {
fmt.Print()
funcAsVariable := func(k int) {}
hello(funcAs)
bye(funcAs, 1)
}
type convert func(int) string
func hello(s convert) {
return s(1)
}
func bye(s convert, i int) {
return s(i)
}