Versions in this module Expand all Collapse all v1 v1.0.0 Aug 15, 2018 Changes in this version + const BlockSize + const HeaderOff + const HeaderSize + const MaxNPart + const Revision + const Signature + func EqualHeader(p, b Header) error + func EqualPart(p, b Part) (err error) + func EqualParts(p, b *GPT) (err error) + func Write(w io.WriterAt, p *PartitionTable) error + type GPT struct + Parts []Part + func Table(r io.ReaderAt, off int64) (*GPT, error) + func (g *GPT) String() string + type GUID struct + B [8]byte + L uint32 + W1 uint16 + W2 uint16 + func (g *GUID) String() string + type Header struct + BackupLBA uint64 + CRC uint32 + CurrentLBA uint64 + DiskGUID GUID + FirstLBA uint64 + HeaderSize uint32 + LastLBA uint64 + NPart uint32 + PartCRC uint32 + PartSize uint32 + PartStart uint64 + Reserved uint32 + Revision uint32 + Signature uint64 + type MBR [BlockSize]byte + func (m *MBR) String() string + type Part struct + Attribute PartAttr + FirstLBA uint64 + LastLBA uint64 + Name PartName + PartGUID GUID + UniqueGUID GUID + type PartAttr uint64 + type PartName [72]byte + type PartitionTable struct + Backup *GPT + MasterBootRecord *MBR + Primary *GPT + func New(r io.ReaderAt) (*PartitionTable, error) + func (p *PartitionTable) String() string Incompatible versions in this module v4.0.0+incompatible Jan 27, 2019 v3.0.0+incompatible Nov 21, 2018 v2.0.0+incompatible Oct 1, 2018