Hi,
what’s the following meaning? is this defining a type of function?
type CollectorOption func(*Collector)
Thanks
Hi,
what’s the following meaning? is this defining a type of function?
type CollectorOption func(*Collector)
Thanks
yes, it defines a type of function
The type CollectorOption
is the type of functions that accept a pointer to a Collector
.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.