package
Version:
v0.0.0-...-c86e3d9
Opens a new window with list of versions in this module.
Published: Jun 2, 2021
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewSQLMock Creates fake elastic client
NewSQLMock Creates fake http handler
func NewSQLMock() (*sql.DB, sqlmock.Sqlmock)
NewSQLMock Creates fake sql connection
func TypeOf(i interface{}) string
TypeOf Get struct name
ex : CreateArticleCommand{} => "CreateArticleCommand"
type HTTPError struct {
Status int
Message string
}
type HTTPStatus struct {
Status string
}
Source Files
¶
Directories
¶
|
|
|
|
|
|
|
|
|
|
|
|
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
|
|
|
|
Click to show internal directories.
Click to hide internal directories.