GoLang com_create_guid

request it (263)
GoLang replacement for PHP's com_create_guid [edit | history]

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

PHP com_create_guid

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


(PHP 5, PHP 7)

com_create_guidGenerate a globally unique identifier (GUID)


string com_create_guid ( void )

Generates a Globally Unique Identifier (GUID).

A GUID is generated in the same way as DCE UUID's, except that the Microsoft convention is to enclose a GUID in curly braces.

Return Values

Returns the GUID as a string.

See Also

  • uuid_create() in the PECL uuid extension