The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
The event package implements events, an event source and an event receiver.
You should embed the event.Source and event.Receiver instances in your
instance in order to provide facilities for subscribing to events
and receiving events. For example,
type Task struct {
event.Source
event.Receiver
}
func main() {
a,b := new(Task), new(Task)
// Receive events from task b in task a
go a.Recv(context.TODO(), process, b)
// Emit an event in task b which is processed in task a
evt := event.New(context.TODO(), "key", "value")
evt.Emit(b.C())
}
Receive events from one or more sources and process them using the callback. If
a callback returns an error or the context is cancelled, then the function ends.