testutils

package
v0.0.0-...-383283c Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitSQLClient

func InitSQLClient() (*sqlx.DB, error)

func InsertQuestion

func InsertQuestion(sqlClient *sqlx.DB, question core.Question) (int, error)

func InsertQuestions

func InsertQuestions(sqlClient *sqlx.DB, questions []core.Question) error

func ResetTables

func ResetTables(sqlClient *sqlx.DB) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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