Documentation ¶
Index ¶
Constants ¶
View Source
const (
ProjectName = "gsp2md"
)
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
Types ¶
type ConfigInfo ¶
type ConfigInfo struct {
Error error
}
var (
GlobalConfig ConfigInfo = ConfigInfo{}
)
type Gsp2MdConfig ¶
type Gsp2MdConfig struct { GoogleSpreadsheets struct { Client string `mapstructure:"client-id"` Secret string `mapstructure:"client-secret"` } `mapstructure:"gs"` Input []struct { Url string `mapstructure:"url"` Ranges []string `mapstructure:"ranges"` } `mapstructure:"in"` Output []struct { Type string `mapstructure:"type"` Name string `mapstructure:"name"` } `mapstructure:"out"` }
func LoadGsp2MdConfig ¶
func LoadGsp2MdConfig() (cfg *Gsp2MdConfig, err error)
Click to show internal directories.
Click to hide internal directories.