package
2.1.3+incompatible
Repository: https://github.com/jopicornell/jet.git
Documentation: pkg.go.dev
# Functions
AssertClauseSerialize checks if clause serialize produces expected query and args.
AssertClauseSerializeErr check if clause serialize panics with errString.
AssertDebugStatementSql check if statement Sql() is the same as expectedQuery.
AssertExec assert statement execution for successful execution and number of rows affected.
AssertExecErr assert statement execution for failed execution with error string errorStr.
AssertFileContent check if file content at filePath contains expectedContent text.
AssertFileNamesEqual check if all filesInfos are contained in fileNames.
AssertJSON check if data json output is the same as expectedJSON.
AssertJSONFile check if data json representation is the same as json at testRelativePath.
AssertProjectionSerialize check if projection serialize produces expected query and args.
AssertQueryPanicErr check if statement Query execution panics with error errString.
AssertStatementSql check if statement Sql() is the same as expectedQuery and expectedArgs.
AssertStatementSqlErr checks if statement Sql() panics with errorStr.
Date creates time from t string.
PrintJson print v as json.
SaveJSONFile saves v as json at testRelativePath.
TimestampWithoutTimeZone creates time from t.
TimestampWithTimeZone creates time from t.
TimeWithoutTimeZone creates time from t.
TimeWithTimeZone creates time from t.