Example #1
0
File: g.go Project: tcard/meta
func ChanIn(of meta.Type) *meta.ChanType {
	return meta.NewChanType(of, meta.In)
}
Example #2
0
File: g.go Project: tcard/meta
func OutChan(of meta.Type) *meta.ChanType {
	return meta.NewChanType(of, meta.Out)
}
Example #3
0
File: g.go Project: tcard/meta
func Chan(of meta.Type) *meta.ChanType {
	return meta.NewChanType(of, meta.Both)
}