Documentation ¶ Index ¶ type Either Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Either ¶ type Either[T any] struct { Value T Err error } Either is data struct that contain any value and error. it is useful for goroutines & channels to use single channel instead of using channel for value and channel for error Source Files ¶ View all Source files either.go Click to show internal directories. Click to hide internal directories.