♻️ Modify UUID to allow for other versions.

This commit is contained in:
Dan Jones 2025-03-16 12:38:36 -05:00
commit fee2e3cc2f
4 changed files with 55 additions and 24 deletions

View file

@ -14,7 +14,7 @@ func NewConfig(options ...Option) Config {
conf := Config{
extension: ".txt",
separator: "_",
generator: uuidGen,
generator: UUID(nil),
}
for _, opt := range options {
opt(&conf)