Documentation ¶
Index ¶
Constants ¶
View Source
const ( ScopeURL = "https://www.googleapis.com/auth/spreadsheets" StatusSkip = "Skipped" )
Scope and Status of sheet line processing
View Source
const ( DefaultSheetName = "Sheet1" DefaultColumns = "" /* 185-byte string literal not displayed */ )
Default data of configuration
Variables ¶
This section is empty.
Functions ¶
func Process ¶
func Process(configuration Configuration) ([]byte, error)
Process starts to parse data from hemnet and update to Excel
Types ¶
type Configuration ¶
type Configuration struct { GoogleCredentialPath string SpreadsheetID string NoSkipHeader int SheetName string Columns string }
Configuration is config to process GoogleSheet updating
func (*Configuration) Default ¶
func (c *Configuration) Default()
Default set default data of configuration if it doesn't set yet
func (Configuration) Validate ¶
func (c Configuration) Validate() (bool, error)
Validate check invalid in configuration
Click to show internal directories.
Click to hide internal directories.