GoLang MongoId::getInc

request it (252)
GoLang replacement for PHP's MongoId::getInc [edit | history]

Do you know a GoLang replacement for PHP's MongoId::getInc? Write it!

PHP MongoId::getInc

PHP original manual for MongoId::getInc [ show | php.net ]


(PECL mongo >= 1.0.11)

MongoId::getIncGets the incremented value to create this id


public int MongoId::getInc ( void )


This function has no parameters.

Return Values

Returns the incremented value used to create this MongoId.