func (u uuid) ino() uint64 { ubuf := gouuid.UUID(u).Bytes() inobyte := ubuf[8:] var ino uint64 for i := 0; i < 8; i++ { tmp := uint64(inobyte[i]) ino = ino | (tmp << uint64((7-i)*8)) } return ino }
func (u uuid) String() string { ubuf := gouuid.UUID(u).Bytes() buf := make([]byte, 32) hex.Encode(buf, ubuf) return string(buf) }