hostmodtest

package
v0.30.3 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package hostmodtest supplies real offline Go module graphs for tooling tests.

Index

Constants

View Source
const WailsModule = "github.com/wailsapp/wails/v3"
View Source
const WailsVersion = "v3.0.0-beta.34"

Variables

This section is empty.

Functions

func Module

func Module(t testing.TB, proxy, module, version, mod string) (sum, modSum string)

Module publishes a real module archive and returns cmd/go-compatible hashes.

func Root

func Root(t testing.TB, root string) (requirement, sums string)

Root supplies a checksum-trusted stock module through a private file proxy. The fixture module is intentionally tiny; cmd/go still performs real module graph selection, downloads and checksum verification.

func Write

func Write(t testing.TB, path, body string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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