From 3e2a039c14446aac37f25c8f80b0976c9eb87a9a Mon Sep 17 00:00:00 2001 From: Javier Escalada Date: Sat, 12 Aug 2017 17:57:52 +0100 Subject: [PATCH] A little error in the documentation of dce.go I think that could be an error in the documentation of [NewDCEGroup](https://github.com/google/uuid/blob/281f560d28af7174109514e936f94c2ab2cb2823/dce.go#L53) and [NewDCEPerson](https://github.com/google/uuid/blob/281f560d28af7174109514e936f94c2ab2cb2823/dce.go#L45) --- dce.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dce.go b/dce.go index a6479db..fa820b9 100644 --- a/dce.go +++ b/dce.go @@ -42,7 +42,7 @@ func NewDCESecurity(domain Domain, id uint32) (UUID, error) { // NewDCEPerson returns a DCE Security (Version 2) UUID in the person // domain with the id returned by os.Getuid. // -// NewDCEPerson(Person, uint32(os.Getuid())) +// NewDCESecurity(Person, uint32(os.Getuid())) func NewDCEPerson() (UUID, error) { return NewDCESecurity(Person, uint32(os.Getuid())) } @@ -50,7 +50,7 @@ func NewDCEPerson() (UUID, error) { // NewDCEGroup returns a DCE Security (Version 2) UUID in the group // domain with the id returned by os.Getgid. // -// NewDCEGroup(Group, uint32(os.Getgid())) +// NewDCESecurity(Group, uint32(os.Getgid())) func NewDCEGroup() (UUID, error) { return NewDCESecurity(Group, uint32(os.Getgid())) }