package
0.0.0-20200127062044-0da3c943291d
Repository: https://github.com/chandumlg/dbhelper1.git
Documentation: pkg.go.dev
# Functions
AddFileToZip adds file to zip including size header stats.
Assert panics if false.
AssertError panics if error.
Contains returns true if an element is present in a iteratee.
No description provided by the author
Copy copies the exported fields from src to destUsed for copying the default transport.
GetIPFromReq gets ip address from request.
GetRudderEventMap returns the event structure from the client payload.
GetRudderEventUserID return the UserID from the object.
GetRudderEventVal returns the value corresponding to the key in the message structure.
IncrementMapByKey starts with 1 and increments the counter of a key.
IsJobTable returns true if this file is a job table dump.
ParseRudderEventBatch looks for the batch structure inside event.
ReadLines reads a whole file into memory and returns a slice of its lines.
UnZipSingleFile unzips zip containing single file into ouputfile path passed.
ZipFiles compresses files[] into zip at filename.