Documentation ¶
Index ¶
- func AddTable(column, rows int64) *docs.Request
- func InsertImage(link string, location *docs.Location, size float64) *docs.Request
- func ReplaceTextDocs(char, text string) *docs.Request
- type GoogleDocs
- func (gdocs *GoogleDocs) FindAndReplace(docId string, request ...*docs.Request) (err error)
- func (gdocs *GoogleDocs) FindTextLocation(docId string, pattern string) (loc docs.Location, err error)
- func (gdocs *GoogleDocs) GetTableLocation(docID string) (data *docs.Location, err error)
- func (gdocs *GoogleDocs) Service() *docs.Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertImage ¶
func ReplaceTextDocs ¶
func ReplaceTextDocs(char, text string) *docs.Request
Types ¶
type GoogleDocs ¶
type GoogleDocs struct {
// contains filtered or unexported fields
}
func DocsNewServices ¶ added in v0.0.3
func DocsNewServices(FileCred string, FileToken string) (docsService GoogleDocs)
func NewGoogleDocs ¶
func NewGoogleDocs(srvDocs *docs.Service) (res GoogleDocs)
func (*GoogleDocs) FindAndReplace ¶
func (gdocs *GoogleDocs) FindAndReplace(docId string, request ...*docs.Request) (err error)
func (*GoogleDocs) FindTextLocation ¶
func (gdocs *GoogleDocs) FindTextLocation(docId string, pattern string) (loc docs.Location, err error)
func (*GoogleDocs) GetTableLocation ¶
func (gdocs *GoogleDocs) GetTableLocation(docID string) (data *docs.Location, err error)
func (*GoogleDocs) Service ¶
func (gdocs *GoogleDocs) Service() *docs.Service
Click to show internal directories.
Click to hide internal directories.