chore: codacy method comment

This commit is contained in:
Andrey Melnikov
2021-01-19 15:54:40 -08:00
parent a132ce4e34
commit c7021b735e

View File

@@ -94,6 +94,7 @@ func (w *Workspace) GenerateUID(name string) error {
return nil
}
// GenerateWorkspaceUID creates a uid from a workspace name. The limit is 30 characters
func GenerateWorkspaceUID(name string) (string, error) {
return uid2.GenerateUID(name, 30)
}