Пример #1
0
Файл: g.go Проект: tcard/meta
func ChanIn(of meta.Type) *meta.ChanType {
	return meta.NewChanType(of, meta.In)
}
Пример #2
0
Файл: g.go Проект: tcard/meta
func OutChan(of meta.Type) *meta.ChanType {
	return meta.NewChanType(of, meta.Out)
}
Пример #3
0
Файл: g.go Проект: tcard/meta
func Chan(of meta.Type) *meta.ChanType {
	return meta.NewChanType(of, meta.Both)
}