예제 #1
0
파일: worker.go 프로젝트: Clever/gearcmd
// getJobID returns the jobId from the job handle
func getJobID(job baseworker.Job) string {
	splits := strings.Split(job.Handle(), ":")
	return splits[len(splits)-1]
}