GoLang Counter::getNamed

request it (371)
GoLang replacement for PHP's Counter::getNamed [edit | history]



Do you know a GoLang replacement for PHP's Counter::getNamed? Write it!

PHP Counter::getNamed

PHP original manual for Counter::getNamed [ show | php.net ]

Counter::getNamed

Counter::getNamed Retrieve an existing named counter

Description

static Counter Counter::getNamed ( string $name )

Counter::getNamed() returns an existing counter by name if that name exists, or NULL otherwise. This is a static function.

Parameters

name
The counter name to search for.

Return Values

Counter::getNamed() returns an existing counter by name if that name exists, or NULL otherwise.