package
0.0.0-20241014125530-633498bcee1c
Repository: https://github.com/substra/orchestrator.git
Documentation: pkg.go.dev
# Functions
Combine combines two lists of string in a single one without duplicates.
Difference returns the content of list 1 not present in list 2.
No description provided by the author
GetCaller returns the name of the function calling it.
GetenvBool returns an environment variable as boolean.
GetLogLevelFromEnv gets the logging level from the environment variable LOG_LEVEL.
InitLogging configure log library to output to console with appropriate levels.
Intersection returns a new slice containing items in common from a and b.
IsEqual compares two slices and returns true if they both contains the same set of items.
No description provided by the author
SliceContains will check if needle is found in haystack.
Unique returns a slice without duplicates.
# Variables
AnyContext will match any context.Context: empty ones as well as WithValue ones.
# Structs
MockConn augments pgxmock.PgxConnIface with a WaitForNotification method so that it implements dbal.Conn interface.
# Interfaces
Tx will generate a mock for pgx.Tx.