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