
Untitled
By: a guest on
Jan 6th, 2012 | syntax:
Go | size: 0.21 KB | hits: 90 | expires: Never
<T> type example interface {
Write(input T)
}
<T> func exampleFunc(param example<T>) {
}
type Int int
func (i Int) Write(input *unrelatedType) {
}
func main() {
Int test
exampleFunc(test);
}