internal/ui.go
func (p *Palette) callLine(line *stack.Call, srcLen, pkgLen int, fullPath bool) string {
	src := ""
	if fullPath {
		src = line.FullSrcLine()
	} else {
		src = line.SrcLine()
	}
	return fmt.Sprintf(
		"    %s%-*s %s%-*s %s%s%s(%s)%s",
		p.Package, pkgLen, line.Func.PkgName(),
		p.SrcFile, srcLen, src,
		p.functionColor(line), line.Func.Name(),
		p.Arguments, &line.Args,
		p.EOLReset)
}
func (p *Palette) callLine(line *stack.Call, srcLen, pkgLen int, fullPath bool) string {
	src := ""
	if fullPath {
		src = line.FullSrcLine()
	} else {
		src = line.SrcLine()
	}
	return fmt.Sprintf(
		"    %s%-*s %s%-*s %s%s%s(%s)%s",
		p.Package, pkgLen, line.Func.PkgName(),
		p.SrcFile, srcLen, src,
		p.functionColor(line), line.Func.Name(),
		p.Arguments, &line.Args,
		p.EOLReset)
}
func ( p * Palette ) callLine ( line * stack . Call , srcLen , pkgLen int , fullPath bool ) string { src := " " if fullPath { src = line . FullSrcLine ( ) } else { src = line . SrcLine ( ) } return fmt . Sprintf ( " " , p . Package , pkgLen , line . Func . PkgName ( ) , p . SrcFile , srcLen , src , p . functionColor ( line ) , line . Func . Name ( ) , p . Arguments , & line . Args , p . EOLReset ) }
// callLine prints one stack line.
callLine prints one stack line .