id.go
1package entity
2
3import (
4 bootstrap "github.com/MichaelMure/git-bug/entity/boostrap"
5)
6
7const HumanIdLength = bootstrap.HumanIdLength
8
9const UnsetId = bootstrap.UnsetId
10
11// Id is an identifier for an entity or part of an entity
12type Id = bootstrap.Id
13
14// DeriveId generate an Id from the serialization of the object or part of the object.
15var DeriveId = bootstrap.DeriveId