package
Version:
v0.0.0-...-ce3407c
Opens a new window with list of versions in this module.
Published: May 12, 2025
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetEnv returns the value of the environment variable or the default value if not set
func GetRedisNamespace() string
GetRedisNamespace returns the Redis namespace prefix for tests
RandomTime returns a random time for testing
RandomUUID returns a new random UUID for testing
StringPtr returns a pointer to the given string
TestDB creates a test database and returns a connection to it
func TestRedis(t *testing.T) *redis.Client
TestRedis returns a Redis client for testing
Source Files
¶
Click to show internal directories.
Click to hide internal directories.