feat(contact): Improve Contact information with name, mail and URL
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Matthieu 'JP' DERASSE
2022-08-27 22:00:16 +00:00
parent 05ecb05132
commit 9107f0d36e
4 changed files with 38 additions and 11 deletions

View File

@@ -2,12 +2,19 @@ package models
// Config structure represent the main configuration of the project.
type Config struct {
ProjectName string `yaml:"project_name"`
ProjectDescription string `yaml:"project_description"`
ProjectOwner string `yaml:"project_owner"`
ProjectType APITypeName `yaml:"project_type"`
ModulePath *string `yaml:"module_name"`
Features FeaturesConfig `yaml:"features"`
ProjectName string `yaml:"project_name"`
ProjectDescription string `yaml:"project_description"`
ProjectContact ProjectContactStruct `yaml:"project_contact"`
ProjectType APITypeName `yaml:"project_type"`
ModulePath *string `yaml:"module_name"`
Features FeaturesConfig `yaml:"features"`
}
// ProjectContactStruct contain all contact information for that project.
type ProjectContactStruct struct {
Name string `yaml:"name"`
Email string `yaml:"email"`
URL string `yaml:"url"`
}
// FeaturesConfig structure represent the configuration of all possible features.