Add custom ID types

This commit is contained in:
2016-12-20 11:42:57 +01:00
parent dafc477fe8
commit f66e544d43
2 changed files with 12 additions and 3 deletions

9
id.go Normal file
View File

@ -0,0 +1,9 @@
package budgeteer
// ID is an implementation of a UUID
type ID [16]byte
// IDGenerator generates new IDs
type IDGenerator interface {
New() ID
}