fix insert daftar jadwal dokter and temp
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
package utils
|
||||
|
||||
import "log"
|
||||
|
||||
// Function to convert Kode to ID
|
||||
func KodeToIDConverter(kode string, kodeDokter map[string]int) int {
|
||||
log.Println("Kode :", kode)
|
||||
id := kodeDokter[kode]
|
||||
log.Println("ID :", id)
|
||||
return id
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user