gomodule

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoModule

type GoModule struct {
	Name       string
	Root       string
	CallingDir string
}

GoModule represents the current execution context in Gremlins.

Name is the module name of the Go module being tested by Gremlins.
Root is the root folder of the Go module.
CallingDir is the folder in which Gremlins is running.

func Init

func Init(path string) (GoModule, error)

Init initializes the current module. It finds the module name and the root of the module, then returns a GoModule struct.

Jump to

Keyboard shortcuts

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