Categorygithub.com/adewoleadenigbagbe/sequential-guid
repositorypackage
0.0.0-20240503160427-da1e309293d2
Repository: https://github.com/adewoleadenigbagbe/sequential-guid.git
Documentation: pkg.go.dev

# README

sequential-guid

A time ordered uuid created essentially for database unique keys

By RFC 4122, the standard GUID is 16 bytes, the first 6 bytes is generated from UTC timestamp and the next 10 bytes are generated randomly,the Endianess are the computer architecture are also considered Follow up article link: https://www.codeproject.com/Articles/388157/GUIDs-as-fast-primary-keys-under-multiple-database.Golang implementation of code written in C#

Usage

Cd to the root folder and run the main.go file in command line