Documentation
¶
Index ¶
- func ColumnIndexToLetter(index int) string
- func ColumnToIndex(column string) int
- func ConnectToDriveService(ctx context.Context, scope ...string) *drive.Service
- func ConnectToGmailService(ctx context.Context, scope ...string) *gmail.Service
- func ConnectToSheetsService(ctx context.Context, scope ...string) *sheets.Service
- func DefaultIfEmpty(value, defaultValue string) string
- func GetMsgBody(msg *gmail.Message) (string, error)
- func GetParams(regEx, url string) (paramsMap map[string]string)
- func InsertAtBeginning(slice [][]interface{}, value []interface{}) [][]interface{}
- func ParseDateWithFormat(date string, layout ...string) (time.Time, error)
- func Round(value any) float64
- func SplitCellReference(cell string) (string, int)
- func WriteFile(msg *gmail.Message) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColumnIndexToLetter ¶
columnIndexToLetter convierte un índice de columna a la notación de letra de columna de Sheets (1 -> A, 2 -> B, ..., 27 -> AA, ...)
func ColumnToIndex ¶
columnToIndex convierte la letra de la columna en su índice correspondiente
func ConnectToDriveService ¶
ConnectToDriveService uses a Context, config and 1 or more scopes to retrieve a Token then generate a Client. It uses the client to connect to the gmail api service and returns a *gmail.Service.
func ConnectToGmailService ¶
ConnectToGmailService uses a Context, config and 1 or more scopes to retrieve a Token then generate a Client. It uses the client to connect to the gmail api service and returns a *gmail.Service.
func ConnectToSheetsService ¶
ConnectToSheetsService uses a Context, config and 1 or more scopes to retrieve a Token then generate a Client. It uses the client to connect to the gmail api service and returns a *gmail.Service.
func DefaultIfEmpty ¶
func GetMsgBody ¶
func GetParams ¶
*
- Parses url with the given regular expression and returns the
- group values defined in the expression. *
func InsertAtBeginning ¶
func InsertAtBeginning(slice [][]interface{}, value []interface{}) [][]interface{}
func ParseDateWithFormat ¶
func SplitCellReference ¶
SplitCellReference separa una referencia de celda en sus componentes de columna y fila
Types ¶
This section is empty.