modtest

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package modtest is for quickly building a usable module in memory.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Make

func Make(t testing.TB, m Module) *gomod.Module

Types

type Module

type Module struct {
	Modules  map[string]map[string]string
	Files    map[string][]byte
	CacheDir string
	AppDir   string
}

Jump to

Keyboard shortcuts

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