♻️ Modify UUID to allow for other versions.
This commit is contained in:
parent
f121b7dbce
commit
fee2e3cc2f
4 changed files with 55 additions and 24 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue