stack/stack.go
func (f *Func) Name() string {
	parts := strings.SplitN(filepath.Base(f.Raw), ".", 2)
	if len(parts) == 1 {
		return parts[0]
	}
	return parts[1]
}
func (f *Func) Name() string {
	parts := strings.SplitN(filepath.Base(f.Raw), ".", 2)
	if len(parts) == 1 {
		return parts[0]
	}
	return parts[1]
}
func ( f * Func ) Name ( ) string { parts := strings . SplitN ( filepath . Base ( f . Raw ) , " " , 2 ) if len ( parts ) == 1 { return parts [ 0 ] } return parts [ 1 ] }
// Name is the naked function name.
Name is the naked function name .