示例#1
0
文件: uuid.go 项目: Denisss025/uuid
// Copy returns a copy of the Uuid variable uu.
func (uu Uuid) Copy() (result Uuid) {
	C.uuid_copy(&result.uuid[0], &uu.uuid[0])
	return
}
示例#2
0
文件: uuid.go 项目: Denisss025/uuid
// CopyTo copies the uu into uu2.
func (uu Uuid) CopyTo(uu2 *Uuid) {
	C.uuid_copy(&uu2.uuid[0], &uu.uuid[0])
}