func NewServices(cfgs ...ServicesConfig) (*Services, error) {
	var s Services
	for _, cfg := range cfgs {
		if err := cfg(&s); err != nil {
			return nil, err
		}
	}
	return &s, nil
}
// NewServices initializes the configuration for every service
NewServices initializes the configuration for every service
// NewServices initializes the configuration for every service
func NewServices(cfgs ...ServicesConfig) (*Services, error) {
	var s Services
	for _, cfg := range cfgs {
		if err := cfg(&s); err != nil {
			return nil, err
		}
	}
	return &s, nil
}
func NewServices ( cfgs ... ServicesConfig ) ( * Services , error ) { var s Services for _ , cfg := range cfgs { if err := cfg ( & s ) ; err != nil { return nil , err } } return & s , nil }
NewServices initializes the configuration for every service
NewServices initializes the configuration for every service