utils

package
v0.0.0-...-c524502 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expect

func Expect(err error, message string)

func GetFreePort

func GetFreePort() (int, error)

GetFreePort asks the kernel for a free open port that is ready to use.

func GetNow

func GetNow() pgtype.Timestamp

func TerminatePGContainer

func TerminatePGContainer(ctx context.Context, pgContainer testcontainers.Container) error

func WaitForPredicateToBeTrue

func WaitForPredicateToBeTrue(predicate func() bool) bool

func WaitForServiceUp

func WaitForServiceUp(port int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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