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

dg

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DependencyMap

type DependencyMap map[string]map[string]map[string]bool

func GetDependencies

func GetDependencies(repoOwner, repoName string) DependencyMap

type Query

type Query struct {
	Repository struct {
		DependencyGraphManifests struct {
			Nodes []struct {
				Filename     string
				Dependencies struct {
					Nodes []struct {
						PackageManager string
						PackageName    string
						Requirements   string
					}
					PageInfo struct {
						HasNextPage bool
						EndCursor   string
					}
				} `graphql:"dependencies(first: $first, after: $dependencyCursor)"`
			}
			PageInfo struct {
				HasNextPage bool
				EndCursor   string
			}
		} `graphql:"dependencyGraphManifests(first: $first, after: $manifestCursor)"`
	} `graphql:"repository(name: $name, owner: $owner)"`
}

Jump to

Keyboard shortcuts

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