service

package
v0.0.0-...-584ef7e Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFile

func CreateFile(f string) (*os.File, error)

func ExportFromFolderToFolder

func ExportFromFolderToFolder(
	oracle_uri string,
	fromFolderPath string,
	toFolderPath string,
) error

ExportFromFolderToFolder ...

func ExportOracleQuery

func ExportOracleQuery(
	oracle_uri string,
	sqlFilePath string,
	destTableName string,
	destinationFilePath string,
) error

ExportOracleQuery ...

func FSCreateDirectory

func FSCreateDirectory(p string) error

FSCreateDirectory ...

func FSExists

func FSExists(path string) (bool, error)

FSExists ...

func FSGetDirectories

func FSGetDirectories(p string) (*[]string, error)

FSGetDirectories ...

func FSRemove

func FSRemove(path string) error

FSRemove ...

func FSWorkOnDirectoryInPath

func FSWorkOnDirectoryInPath(p string, workFunc DirWorkFunc) error

FSWorkOnDirectoryInPath ...

func FSWorkOnItemInPath

func FSWorkOnItemInPath(p string, workFunc DirWorkFunc) error

FSWorkOnItemInPath ...

func LoadFromJSONFile

func LoadFromJSONFile(f string, i interface{}) error

LoadFromJSONFile ...

func Map

func Map(vs []string, f func(string) string) []string

func ReadCSV

func ReadCSV(rc io.Reader) (ch chan []string)

ReadCSV read csv per line and send current one into channel

func RunCSVExport

func RunCSVExport(uri string, table string, extractColumn []string, rowLimit int, file string) error

RunCSVExport ...

Types

type DirWorkFunc

type DirWorkFunc func(path os.FileInfo) error

DirWorkFunc ...

Jump to

Keyboard shortcuts

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