utils

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterDataHeaders

func FilterDataHeaders(mapHeader map[string]string, data []*map[string]interface{}) []*map[string]interface{}

FilterDataHeaders data based on selected header mapHeader is headers that already mapped data is data that is already fetch from excel file

func GetFilePath

func GetFilePath(filePath string) ([]byte, error)

GetFilePath fetch file body with http client filePath string url

func HashKeyString

func HashKeyString(keyName string) string

HashKeyString is method to hash keyName keyName is string

func MapHeaders

func MapHeaders(headers []string) map[string]string

MapHeaders Convert all headers to map string headers is array string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL