Restructure project directories
Follow the standard of all go projects
This commit is contained in:
parent
741f18efd1
commit
5445ce1ccf
20 changed files with 39 additions and 42 deletions
26
internal/config/structures.go
Normal file
26
internal/config/structures.go
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
package config
|
||||
|
||||
type Configuration struct {
|
||||
Workspace string
|
||||
Repositories []RepositoryConfig
|
||||
}
|
||||
|
||||
type RepositoryConfig struct {
|
||||
Name string `yaml:",omitempty"`
|
||||
Src string
|
||||
Dest string `yaml:",omitempty"`
|
||||
Tags []string `yaml:",omitempty"`
|
||||
Skip bool
|
||||
}
|
||||
|
||||
type CliArguments struct {
|
||||
ConfigurationFile string
|
||||
Sync bool
|
||||
Status bool
|
||||
Version bool
|
||||
Color bool
|
||||
LimitToName string
|
||||
LimitToTags []string
|
||||
Routines int
|
||||
IgnoreSkipped bool
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue