Documentation ¶
Index ¶
- Constants
- func AreSlicesEqualIgnoringOrder[T any](s1, s2 []T, compare func(l, r T) int) bool
- func AssertEqualProto(t *testing.T, expected, actual proto.Message)
- func Marshal(t *testing.T, v interface{}) []byte
- func RunMigrations(t *testing.T, db *sql.DB) error
- func RunMigrationsWithClient(t *testing.T, pgClient *postgres.Client) error
- func RunTestPG(t *testing.T, logger log.Logger) (int, error)
- type ArgMatcher
Constants ¶
View Source
const ( PGHost = "localhost" PGUsername = "test_user" PGPassword = "test_pass" PGName = "test_db" )
Variables ¶
This section is empty.
Functions ¶
func AreSlicesEqualIgnoringOrder ¶ added in v0.7.7
func RunMigrationsWithClient ¶ added in v0.6.0
Types ¶
type ArgMatcher ¶ added in v0.6.0
type ArgMatcher interface{ Matches(interface{}) bool }
func OfTypeContext ¶ added in v0.6.0
func OfTypeContext() ArgMatcher
Click to show internal directories.
Click to hide internal directories.