Similar to this discussion about kqueue, and related to this closed issue, it would be nice to add the missing fields of the C type epoll_event defined as the following to the equivalent unix.EpollEvent type in Go.
typedef union epoll_data {
void *ptr;
int fd;
uint32_t u32;
uint64_t u64;
} epoll_data_t;
struct epoll_event {
uint32_t events; /* Epoll events */
epoll_data_t data; /* User data variable */
};
/cc @tklauser @bradfitz @ianlancetaylor