Documentation ¶ Index ¶ Constants func CleanMsg(msg *gmail.Message, takeFormat string) (string, error) Constants ¶ View Source const ( PlainText = "text/plain" HTMLText = "text/html" ) Variables ¶ This section is empty. Functions ¶ func CleanMsg ¶ func CleanMsg(msg *gmail.Message, takeFormat string) (string, error) CleanMsg getting message body or combining all parts of message body and clean all unnecessary data from text/plain or text/html formats to return it in valid format for analyzing. Types ¶ This section is empty. Source Files ¶ View all Source files gmail.go Click to show internal directories. Click to hide internal directories.