diff options
author | Steve Moyer <smoyer1@selesy.com> | 2023-01-17 20:31:58 -0500 |
---|---|---|
committer | Steve Moyer <smoyer1@selesy.com> | 2023-01-17 20:31:58 -0500 |
commit | 331e80f2eff161236da2ac4e03c9a2d9493e356c (patch) | |
tree | 84d18a86e3a656f30f1724c7f12a618bd9670ed4 /entity/id.go | |
parent | 0bddfe1d9d737dfbd5c818ac32d79f578129d5d8 (diff) | |
parent | 0290091317deb9e6c0ff99f9217065168620d2f0 (diff) | |
download | git-bug-331e80f2eff161236da2ac4e03c9a2d9493e356c.tar.gz |
Merge branch 'master' of github.com:MichaelMure/git-bug
Diffstat (limited to 'entity/id.go')
-rw-r--r-- | entity/id.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/entity/id.go b/entity/id.go index 49398da8..0949bf92 100644 --- a/entity/id.go +++ b/entity/id.go @@ -11,7 +11,7 @@ import ( // sha-256 const idLength = 64 -const humanIdLength = 7 +const HumanIdLength = 7 const UnsetId = Id("unset") @@ -34,7 +34,7 @@ func (i Id) String() string { // Human return the identifier, shortened for human consumption func (i Id) Human() string { - format := fmt.Sprintf("%%.%ds", humanIdLength) + format := fmt.Sprintf("%%.%ds", HumanIdLength) return fmt.Sprintf(format, i) } |