csx hace 4 años
padre
commit
546fd6f6dd
Se han modificado 1 ficheros con 0 adiciones y 7 borrados
  1. 0 7
      controllers/patient_api_controller.go

+ 0 - 7
controllers/patient_api_controller.go Ver fichero

3796
 
3796
 
3797
 }
3797
 }
3798
 
3798
 
3799
-func fab(n int) int {
3800
-	if n <= 1 {
3801
-		return 1
3802
-	}
3803
-	return fab(n-1) + fab(n-2)
3804
-}
3805
-
3806
 func GenerateDialysisNoTwo(patients []*models.Patients) string {
3799
 func GenerateDialysisNoTwo(patients []*models.Patients) string {
3807
 	dialysisNo2 := fmt.Sprintf("%06v", rand.New(rand.NewSource(time.Now().UnixNano())).Int31n(1000000))
3800
 	dialysisNo2 := fmt.Sprintf("%06v", rand.New(rand.NewSource(time.Now().UnixNano())).Int31n(1000000))
3808
 	var tempPatient *models.Patients
3801
 	var tempPatient *models.Patients