struct GenericChannelStruct[T] {
	ch chan T
}

struct Simple {
	msg string
}

fn main() {
	new_channel_struct[Simple]()
}

pub fn new_channel_struct[T]() GenericChannelStruct {
	d := GenericChannelStruct{
		ch: chan T{}
	}
	return d
}
