// CreateServiceGroup create a new service group
CreateServiceGroup create a new service group
// CreateServiceGroup create a new service group
func (sgor *ServiceGroupOracleRepository) CreateServiceGroup(serviceGroup ServiceGroup) error {
	_, err := sgor.Tx.Exec(CREATE_SERVICE_GROUP,
		serviceGroup.Id.Hex(), serviceGroup.Name, utils.BoolToInt(serviceGroup.IsReachable),
	)
	return err
}
func ( sgor * ServiceGroupOracleRepository ) CreateServiceGroup ( serviceGroup ServiceGroup ) error { _ , err := sgor . Tx . Exec ( CREATE_SERVICE_GROUP , serviceGroup . Id . Hex ( ) , serviceGroup . Name , utils . BoolToInt ( serviceGroup . IsReachable ) , ) return err }
CreateServiceGroup create a new service group
CreateServiceGroup create a new service group