links

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filename

type Filename string

Filename e.g. /root/codesee-deps-go/pkg/parser/parser.go

type Identifier

type Identifier string

Identifier e.g. New or ParsedDir

type Link struct {
	From string `json:"from"`
	To   string `json:"to"`
}
func DetermineLinks(root string) ([]Link, error)

DetermineLinks takes in a root directory and generates all the links between the Go files in this directory, relative from this root directory. The order of links is not guaranteed to be deterministic to make it faster. If you're asserting equality for the links (e.g. in a test), make sure you sort it before your assertion.

type PackageName

type PackageName string

PackageName e.g. parser

type PackagePath

type PackagePath string

PackagePath e.g. github.com/Codesee-io/codesee-deps-go/pkg/parser

Jump to

Keyboard shortcuts

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