func please(tid int, state *core.BuildState, parsePackageOnly bool, include, exclude []string) { for { label, dependor, t := state.NextTask() switch t { case core.Stop, core.Kill: return case core.Parse, core.SubincludeParse: parse.Parse(tid, state, label, dependor, parsePackageOnly, include, exclude) case core.Build, core.SubincludeBuild: build.Build(tid, state, label) case core.Test: test.Test(tid, state, label) } state.TaskDone() } }
func main() { fmt.Println("print from self") test.Test() test.Call() }
func main() { test.Test() test.test() }