Esempio n. 1
0
File: top.go Progetto: Laller/chill
func (t *Top) Get(ret []interface{}) {
	uni := t.uni
	ran := verbinfo.NewRanalyzer(ret)
	if ran.HadError() {
		display.DErr(uni, ran.Error())
		return
	}
	burnResults(uni.Dat, "main", ran.NonErrors())
	display.D(uni)
}
Esempio n. 2
0
File: top.go Progetto: Laller/chill
func (t *Top) Route() {
	defer func() {
		if r := recover(); r != nil {
			t.uni.Put(fmt.Sprint(r))
			panic(fmt.Sprint(r))
		}
	}()
	err := t.route()
	if err != nil {
		display.DErr(t.uni, err)
		return
	}
}