mirror of
https://github.com/google/uuid.git
synced 2025-02-20 12:33:21 +02:00
Merge pull request #17 from Kerrigan29a/patch-1
A little error in the documentation of dce.go
This commit is contained in:
commit
7e072fc3a7
4
dce.go
4
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
|
// NewDCEPerson returns a DCE Security (Version 2) UUID in the person
|
||||||
// domain with the id returned by os.Getuid.
|
// domain with the id returned by os.Getuid.
|
||||||
//
|
//
|
||||||
// NewDCEPerson(Person, uint32(os.Getuid()))
|
// NewDCESecurity(Person, uint32(os.Getuid()))
|
||||||
func NewDCEPerson() (UUID, error) {
|
func NewDCEPerson() (UUID, error) {
|
||||||
return NewDCESecurity(Person, uint32(os.Getuid()))
|
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
|
// NewDCEGroup returns a DCE Security (Version 2) UUID in the group
|
||||||
// domain with the id returned by os.Getgid.
|
// domain with the id returned by os.Getgid.
|
||||||
//
|
//
|
||||||
// NewDCEGroup(Group, uint32(os.Getgid()))
|
// NewDCESecurity(Group, uint32(os.Getgid()))
|
||||||
func NewDCEGroup() (UUID, error) {
|
func NewDCEGroup() (UUID, error) {
|
||||||
return NewDCESecurity(Group, uint32(os.Getgid()))
|
return NewDCESecurity(Group, uint32(os.Getgid()))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user