Documentation ¶
Overview ¶
Package docs реализация вохможности работы с вордовскими документами
Index ¶
Constants ¶
View Source
const ClientID = "165049723351-mgcbnem17vt14plfhtbfdcerc1ona2p7.apps.googleusercontent.com"
Variables ¶
This section is empty.
Functions ¶
func RenderReplaesDoc ¶
func RenderReplaesDoc(ctx *fasthttp.RequestCtx, templatesName string, replaces map[string]string) error
RenderReplaesDoc read file with name {templatesName}, replace string from map & write to {w}
Types ¶
type Docx ¶
type Docx struct {
// contains filtered or unexported fields
}
Docx struct that contains data from a docs
func (*Docx) UpdateContent ¶
UpdateContent updates the content string
type SheetsGoogleDocs ¶
func (*SheetsGoogleDocs) Init ¶
func (sheet *SheetsGoogleDocs) Init() (err error)
func (*SheetsGoogleDocs) Read ¶
func (sheet *SheetsGoogleDocs) Read(spreadsheetId, readRange string) (*sheets.ValueRange, error)
func (*SheetsGoogleDocs) Sheets ¶
func (sheet *SheetsGoogleDocs) Sheets(spreadsheetId, readRange string) (*sheets.ValueRange, error)
Click to show internal directories.
Click to hide internal directories.