chanother

package
v0.0.5-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChanNested

func ChanNested(x chan (chan (int)))

func ChanOther

func ChanOther(x func(x chan (int)))

func ChanPanics

func ChanPanics(x chan (int))

func ChanReceiveCustomTypeChan

func ChanReceiveCustomTypeChan(x Z)

func ChanReceiveInterfaceChan

func ChanReceiveInterfaceChan(x Y)

func ChanReceiveStructChan

func ChanReceiveStructChan(x X)

Types

type X

type X struct {
	// contains filtered or unexported fields
}

func (X) ChanOnReceiver

func (x X) ChanOnReceiver()

type Y

type Y interface {
	SomeFunc(chan (int))
}

type Z

type Z chan (X)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL