Documentation
¶
Index ¶
- func BsonDArrayToFile(bsonDArray []bson.D, bar *pb.ProgressBar, filename string) error
- func BsonDArrayToGzipFile(bsonDArray []bson.D, bar *pb.ProgressBar, filename string) error
- func BsonDArrayToJsonFile(bsonDArray []bson.D, bar *pb.ProgressBar, filename string) error
- func BsonDToJson(b bson.D) (string, error)
- func BsonDToMap(b bson.D) (map[string]interface{}, error)
- func Contains(collection []string, item string) bool
- func GetBarTemplate(entityType string, entity string) string
- func GetBars(arr []string, entityType string, testMode bool) []*pb.ProgressBar
- func GetName(filename string) string
- func InterfaceToSQLInsertRowString(itf interface{}) string
- func InterfaceToString(itf interface{}) string
- func MapArrayToCSVFile(mp []map[string]interface{}, bar *pb.ProgressBar, filename string) error
- func MapArrayToJSONFile(mp []map[string]interface{}, bar *pb.ProgressBar, filename string) error
- func MapArrayToTSVFile(mp []map[string]interface{}, bar *pb.ProgressBar, filename string) error
- func SqlRowToMap(rows *sql.Rows) ([]map[string]interface{}, error)
- func SqlRowToString(rows *sql.Rows) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BsonDArrayToFile ¶
func BsonDArrayToGzipFile ¶
func BsonDArrayToJsonFile ¶
func GetBarTemplate ¶
func InterfaceToSQLInsertRowString ¶
func InterfaceToSQLInsertRowString(itf interface{}) string
func InterfaceToString ¶
func InterfaceToString(itf interface{}) string
func MapArrayToCSVFile ¶
func MapArrayToJSONFile ¶
func MapArrayToTSVFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.