Help us shape the future of Go! Take the 2026 Go Developer Survey

orgfixture

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package orgfixture builds a compiled organisation for service tests: two representatives bound to humans, and an engineering team.

Index

Constants

View Source
const (
	Account = "T0001"
	UserA   = "U0ALICE"
	UserB   = "U0BOB"
)

Human user ids and Slack account of the fixture.

Variables

This section is empty.

Functions

func Compile

Compile compiles s with the default catalog.

func Manifest

func Manifest(t testing.TB) *compile.Manifest

Manifest compiles the unmodified fixture.

func Spec

func Spec() spec.OrganizationSpec

Spec returns the fixture specification; tests may modify it before Compile.

Types

This section is empty.

Jump to

Keyboard shortcuts

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