Versions in this module Expand all Collapse all v0 v0.1.6 May 9, 2020 v0.1.5 Jan 22, 2016 Changes in this version + var GUID_LVM = PartType([16]byte{ ... }) + type Flags [8]byte + type Guid [16]byte + func (this Guid) String() string + type Header struct + CRC uint32 + DiskGUID Guid + FirstUsableLBA uint64 + HeaderCopyStartLBA uint64 + HeaderStartLBA uint64 + LastUsableLBA uint64 + PartitionEntrySize uint32 + PartitionsArrLen uint32 + PartitionsCRC uint32 + PartitionsTableStartLBA uint64 + Reserved uint32 + Revision uint32 + Signature [8]byte + Size uint32 + TrailingBytes []byte + type PartType Guid + func (this PartType) String() string + type Partition struct + FirstLBA uint64 + Flags Flags + Id Guid + LastLBA uint64 + PartNameUTF16 [72]byte + TrailingBytes []byte + Type PartType + func (this Partition) IsEmpty() bool + func (this Partition) Name() string + type Table struct + Header Header + Partitions []Partition + SectorSize uint64 + func ReadTable(reader io.ReadSeeker, SectorSize uint64) (table Table, err error) + func (this Table) CreateOtherSideTable() (res Table) + func (this Table) CreateTableForNewDiskSize(size uint64) (res Table) + func (this Table) Write(writer io.WriteSeeker) (err error)