Versions in this module Expand all Collapse all v0 v0.2.2 Feb 19, 2023 v0.2.1 Feb 18, 2023 v0.2.0 Feb 17, 2023 Changes in this version + const CR + const DateFormat + const ErrBadChecksum + const ErrNoChecksum + const ErrNoData + const LF + const NewLine + const TimeDateFormat + const TimeFormat + type Data struct + Author string + CRC32Hex string + Category string + Content string + DateTimeUTC time.Time + Description string + Icon string + Title string + func NewFromFile(filePath string) (data *Data, err error) + func (d *Data) CalculateCRC32() (sum uint32) + func (d *Data) CheckCRC32() (ok bool) + func (d *Data) FillCRC32() + func (d *Data) HasCRC32() bool + func (d *Data) HasData() bool + func (d *Data) Serialize() (ba []byte, err error) + type RawData struct + Author string + CRC32Hex string + Category string + Content string + DateUTC string + Description string + Icon string + TimeUTC string + Title string