tag

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: MIT Imports: 0 Imported by: ? 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 tag provides predefined string tags for categorizing tests, consumed by github.com/foomo/go/testing.Tags and github.com/foomo/go/testing.SkipTags.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tag

type Tag string

Tag represents a type for categorizing tasks, processes, or features using predefined string identifiers.

const (
	Always      Tag = "always"
	Benchmark   Tag = "benchmark"
	Blocking    Tag = "blocking"
	CI          Tag = "ci"
	CPU         Tag = "cpu"
	Docker      Tag = "docker"
	E2          Tag = "e2e"
	Generate    Tag = "generate"
	Integration Tag = "integration"
	Load        Tag = "load"
	Memory      Tag = "memory"
	MemoryLeak  Tag = "memoryleak"
	Mutex       Tag = "mutex"
	MutexLeak   Tag = "mutexleak"
	Parallel    Tag = "parallel"
	Performance Tag = "performance"
	Profile     Tag = "profile"
	Race        Tag = "race"
	Regression  Tag = "regression"
	Safe        Tag = "safe"
	Security    Tag = "security"
	Sequence    Tag = "sequence"
	Short       Tag = "short"
	Skip        Tag = "skip"
	Suite       Tag = "suite"
	Table       Tag = "table"
	Unsafe      Tag = "unsafe"
	Update      Tag = "update"
)

Predefined tags for use with github.com/foomo/go/testing.Tags and github.com/foomo/go/testing.SkipTags.

func (Tag) String

func (t Tag) String() string

String returns the string representation of t.

Jump to

Keyboard shortcuts

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