It seems to me the current code gives a misleading benchmark, since the Timing() method of the alexcesaro client takes in interface{} as its value - which is passed all the way down to appendNumber(), but since it's not a numeric it's not appended at all.
So calls to
func (c *Client) Timing(bucket string, value interface{})
should take something which appendNumber can recognizes. But not a time.Duration.
It seems to me the current code gives a misleading benchmark, since the Timing() method of the alexcesaro client takes in interface{} as its value - which is passed all the way down to appendNumber(), but since it's not a numeric it's not appended at all.
So calls to func (c *Client) Timing(bucket string, value interface{}) should take something which appendNumber can recognizes. But not a time.Duration.