lure/internal/types/config.go

15 lines
329 B
Go
Raw Normal View History

package types
2022-12-01 06:15:34 +00:00
// Config represents the LURE configuration file
type Config struct {
RootCmd string `toml:"rootCmd"`
PagerStyle string `toml:"pagerStyle"`
Repos []Repo `toml:"repo"`
}
2022-12-01 06:15:34 +00:00
// Repo represents a LURE repo within a configuration file
type Repo struct {
Name string `toml:"name"`
URL string `toml:"url"`
}