GoLang counter_get_named

request it (261)
GoLang replacement for PHP's counter_get_named [edit | history]



Do you know a GoLang replacement for PHP's counter_get_named? Write it!

PHP counter_get_named

PHP original manual for counter_get_named [ show | php.net ]

counter_get_named

counter_get_named Retrieve an existing named counter as a resource

Description

resource Counter::getNamed ( string $name )

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

Parameters

name
The counter name to search for.

Return Values

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