14 lines
299 B
Go
14 lines
299 B
Go
package main
|
|
|
|
// Forge is a single forge instance to scrape.
|
|
type Forge struct {
|
|
Name string `yaml:"name"`
|
|
Url string `yaml:"url"`
|
|
Type string `yaml:"type"`
|
|
}
|
|
|
|
// Config is the top-level configuration file.
|
|
type Config struct {
|
|
DbPath string `yaml:"db_path"`
|
|
Forges []Forge `yaml:"forges"`
|
|
}
|