Help us shape the future of Go! Take the 2026 Go Developer Survey

packages

package
v1.36.184 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDependencies

func GetDependencies(packageName string) (set.Set[string], error)

GetDependencies takes a fully qualified package name and returns a map of all its recursive package imports (including itself) in the same format.

func GetDirectImports added in v1.16.56

func GetDirectImports(packageName string) (set.Set[string], error)

GetDirectImports takes a fully qualified package name and returns a set of its direct package imports (non-recursive) in the same format.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL