Exemplo n.º 1
0
Arquivo: g.go Projeto: tcard/meta
func ChanIn(of meta.Type) *meta.ChanType {
	return meta.NewChanType(of, meta.In)
}
Exemplo n.º 2
0
Arquivo: g.go Projeto: tcard/meta
func OutChan(of meta.Type) *meta.ChanType {
	return meta.NewChanType(of, meta.Out)
}
Exemplo n.º 3
0
Arquivo: g.go Projeto: tcard/meta
func Chan(of meta.Type) *meta.ChanType {
	return meta.NewChanType(of, meta.Both)
}