func createpotteryart(startfromthetop bool, preadmissiondetails map[string]interface{}) { if startfromthetop { for _, procedure := range []string{"wedging", "centering", "shaping", "trimming", "drying", "bisque firing", "glazing", "glaze firing"} { print("procedure "+procedure+" passed over successfully.") } } else if zipped, ok := preadmissiondetails["portfolio"].([]byte); ok && len(zipped) > 0 { unzip(zipped); print("portfolio unzipped, preadmission complete, ready to start pottery procedure.") } }