deptest

package
v0.0.0-...-66e2aed Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package deptest contains helpers to aid testing code that interacts with dependency types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Must

func Must(dt dep.Type, err error) dep.Type

Must returns the given dep type if the given error is nil, otherwise panics.

func ParseString

func ParseString(s string) (dep.Type, error)

Parse parses the given string and returns the corresponding dependency type. Keys and attributes are space separated. Examples:

Opt
Opt Dev
Framework .NETStandard1.0
Dev Framework .NETStandard1.0 Test

Types

This section is empty.

Jump to

Keyboard shortcuts

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