stack/stack.go
func (f *Func) PkgName() string {
	parts := strings.SplitN(filepath.Base(f.Raw), ".", 2)
	if len(parts) == 1 {
		return ""
	}
	s, _ := url.QueryUnescape(parts[0])
	return s
}
func (f *Func) PkgName() string {
	parts := strings.SplitN(filepath.Base(f.Raw), ".", 2)
	if len(parts) == 1 {
		return ""
	}
	s, _ := url.QueryUnescape(parts[0])
	return s
}
func ( f * Func ) PkgName ( ) string { parts := strings . SplitN ( filepath . Base ( f . Raw ) , " " , 2 ) if len ( parts ) == 1 { return " " } s , _ := url . QueryUnescape ( parts [ 0 ] ) return s }
// PkgName is the package name for this function reference.
PkgName is the package name for this function reference .