parsing

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImports

func GetImports(filepath string) []packages.ImportPath

GetImports retrieve imports of a go file

func GetModuleName

func GetModuleName(path string) (string, error)

GetModuleName retrieve the module name from a go file

func GetWorkspaceModulePaths

func GetWorkspaceModulePaths(path string) ([]string, error)

GetWorkspaceModulePaths retrieve the module paths from a workspace file

Types

This section is empty.

Jump to

Keyboard shortcuts

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