stats

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeEqual

func BeEqual(expected interface{}) types.GomegaMatcher

func BeEqualZero

func BeEqualZero() types.GomegaMatcher

func BeGreaterThan

func BeGreaterThan(other StatItem) types.GomegaMatcher

func BeGreaterThanZero

func BeGreaterThanZero() types.GomegaMatcher

Types

type StatItem

type StatItem struct {
	Name  string      `json:"name"`
	Value interface{} `json:"value"`
}

type Stats

type Stats struct {
	Stats []StatItem `json:"stats"`
}

Jump to

Keyboard shortcuts

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