func TestCompute(t *testing.T) { trustmap := &TrustMap{ Mapping: map[string][]string{ "tav": []string{"micrypt", "thruflo"}, "micrypt": []string{"h4rrydog"}, }, Root: "tav", } trustmap.Compute() log.Wait() }
func Exit(code int) { log.Wait() RunExitHandlers() os.Exit(code) }