Documentation
¶
Index ¶
- func GetGoogleClient() (*docs.Service, error)
- func RefreshGoogleAuth() (authCode string)
- func Remind(documentIds []string) (err error)
- func SendEmail(recipientAddress string, senderAddress string, senderPassword string, ...) error
- type GoogleDocumentBody
- type GoogleDocumentContentItem
- type GoogleDocumentElement
- type GoogleDocumentParagraph
- type GoogleDocumentParagraphStyle
- type GoogleDocumentResponse
- type GoogleDocumentTextRun
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGoogleClient ¶
func RefreshGoogleAuth ¶
func RefreshGoogleAuth() (authCode string)
Types ¶
type GoogleDocumentBody ¶
type GoogleDocumentBody struct {
Content []GoogleDocumentContentItem `json:"content"`
}
type GoogleDocumentContentItem ¶
type GoogleDocumentContentItem struct {
StartIndex int `json:"startIndex"`
EndIndex int `json:"endIndex"`
Paragraph GoogleDocumentParagraph `json:"paragraph"`
}
type GoogleDocumentElement ¶
type GoogleDocumentElement struct {
StartIndex int `json:"startIndex"`
EndIndex int `json:"endIndex"`
TextRun GoogleDocumentTextRun `json:"textRun"`
}
type GoogleDocumentParagraph ¶
type GoogleDocumentParagraph struct {
Elements []GoogleDocumentElement `json:"elements"`
ParagraphStyle GoogleDocumentParagraphStyle `json:"paragraphStyle"`
}
type GoogleDocumentResponse ¶
type GoogleDocumentResponse struct {
Title string `json:"title"`
Body GoogleDocumentBody `json:"body"`
DocumentId string `json:"documentId"`
}
type GoogleDocumentTextRun ¶
type GoogleDocumentTextRun struct {
Content string `json:"content"`
}
Click to show internal directories.
Click to hide internal directories.