Documentation ¶
Index ¶
- func CallHttp(ctx context.Context, method string, url string, headers http.Header, ...) (res interface{}, respHeaders http.Header, respCookies []*http.Cookie, ...)
- func CallParallelHttp(ctx context.Context, method string, url string, headers http.Header, ...) (err error)
- func CloneInterface(ctx context.Context, i interface{}) (iClone interface{}, err error)
- func CsvToMap(ctx context.Context, csvData [][]string, lowerCaseHeader bool) (jsonData []map[string]interface{}, err error)
- func ExecuteDbFetch(ctx context.Context, db *sqlx.DB, query models.Queries) (output []map[string]interface{}, err error)
- func ExecuteDbSave(ctx context.Context, db *sqlx.DB, queries []*models.Queries) (output [][]map[string]interface{}, err error)
- func ExecuteHttp(ctx context.Context, req *http.Request) (resp *http.Response, err error)
- func ExecuteParallelHttp(ctx context.Context, req *http.Request, rc chan *http.Response) (err error)
- func GetArrayPosition(s []string, value string) int
- func HTTPClientTransporter(rt http.RoundTripper) http.RoundTripper
- func PrintRequestBody(ctx context.Context, request *http.Request, msg string)
- func PrintResponseBody(ctx context.Context, response *http.Response, msg string)
- func ReplaceUnderscoresWithDots(str string) string
- func SetStructValue(ctx context.Context, obj interface{}, propName string, propValue interface{})
- func ValidateStruct(ctx context.Context, s interface{}, parentKey string) error
- type DiffOutput
- type DiffReporter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallParallelHttp ¶
func CloneInterface ¶
func ExecuteDbFetch ¶
func ExecuteDbSave ¶
func ExecuteHttp ¶
func ExecuteParallelHttp ¶
func GetArrayPosition ¶
func HTTPClientTransporter ¶
func HTTPClientTransporter(rt http.RoundTripper) http.RoundTripper
func PrintRequestBody ¶
func PrintResponseBody ¶
func SetStructValue ¶
Types ¶
type DiffOutput ¶
type DiffReporter ¶
type DiffReporter struct {
// contains filtered or unexported fields
}
func (*DiffReporter) Output ¶
func (r *DiffReporter) Output() map[string]DiffOutput
func (*DiffReporter) PopStep ¶
func (r *DiffReporter) PopStep()
func (*DiffReporter) PushStep ¶
func (r *DiffReporter) PushStep(ps cmp.PathStep)
func (*DiffReporter) Report ¶
func (r *DiffReporter) Report(rs cmp.Result)
func (*DiffReporter) String ¶
func (r *DiffReporter) String() string
Click to show internal directories.
Click to hide internal directories.