// Runs 'go mod graph' command and returns map that maps dependencies to their child dependencies slice
Runs 'go mod graph' command and returns map that maps dependencies to their child dependencies slice
// Runs ' go mod graph ' command and returns map that maps dependencies to their child dependencies slice
func GetDependenciesGraph(projectDir string, log Log) (map[string][]string, error) {
	output, err := runDependenciesCmd(projectDir, []string{"mod", "graph"}, log)
	if err != nil {
		return nil, err
	}
	return graphToMap(output), err
}
func GetDependenciesGraph ( projectDir string , log Log ) ( map [ string ] [ ] string , error ) { output , err := runDependenciesCmd ( projectDir , [ ] string { " " , " " } , log ) if err != nil { return nil , err } return graphToMap ( output ) , err }
Runs 'go mod graph' command and returns map that maps dependencies to their child dependencies slice
Runs ' go mod graph ' command and returns map that maps dependencies to their child dependencies slice