summaryrefslogtreecommitdiffstatshomepage
path: root/entity/id.go
blob: d79260b8cf4b4b019fe55a8ffcc5d7e1f03d63b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package entity

import (
	bootstrap "github.com/MichaelMure/git-bug/entity/boostrap"
)

const HumanIdLength = bootstrap.HumanIdLength

const UnsetId = bootstrap.UnsetId

// Id is an identifier for an entity or part of an entity
type Id = bootstrap.Id

// DeriveId generate an Id from the serialization of the object or part of the object.
var DeriveId = bootstrap.DeriveId