Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Provide(new)
Module is to provide dependency of query to main app
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct {
fx.In
// MyConfig is the current Athenadriver Config
MyConfig configfx.AthenaDriverConfig
}
Params defines the dependencies or inputs
type QueryAndDBConnection ¶
type QueryAndDBConnection struct {
// DB is the pointer to sql/database DB
DB *sql.DB
// Query is the query string
Query string
}
QueryAndDBConnection is the result of queryfx module
type Result ¶
type Result struct {
fx.Out
// QAD is the Query and DB Connection
QAD QueryAndDBConnection
}
Result defines output
Click to show internal directories.
Click to hide internal directories.