From 4d44ce02c7e1bbd94474241d94bbc5f9c56897a6 Mon Sep 17 00:00:00 2001 From: Yann Bizeul Date: Mon, 21 Nov 2016 15:18:42 -0500 Subject: [PATCH 1/2] Replace undefined CleanHyphen to FormatCanonical --- api/tasks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/tasks.go b/api/tasks.go index 1711192..a0d179d 100644 --- a/api/tasks.go +++ b/api/tasks.go @@ -26,7 +26,7 @@ func AddTask(taskContent string, projectOrder int, date string, rawLabels string check(err) // Generate some UUID to avoid duplicates - uuid.SwitchFormat(uuid.CleanHyphen) + uuid.SwitchFormat(uuid.FormatCanonical) generatedUUID := uuid.NewV4().String() tmpID := uuid.NewV4().String() From fd037c26944ce1a94662aa0d335c03910790da62 Mon Sep 17 00:00:00 2001 From: Yann Bizeul Date: Mon, 21 Nov 2016 15:19:24 -0500 Subject: [PATCH 2/2] Replace undefined CleanHyphen to FormatCanonical --- api/labels.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/labels.go b/api/labels.go index 7b45927..0c8bbe1 100644 --- a/api/labels.go +++ b/api/labels.go @@ -20,7 +20,7 @@ func addLabel(name string) (*Label, error) { token := savedToken.Token // Generate some UUID to avoid duplicates - uuid.SwitchFormat(uuid.CleanHyphen) + uuid.SwitchFormat(uuid.FormatCanonical) generatedUUID := uuid.NewV4().String() tmpID := uuid.NewV4().String()