src

package
v0.0.0-...-453ec06 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertJSON

func ConvertJSON(pathFileCsv string, pathFolder string, pathFileJson string, AllReads []models.Read)

CovertJson converts the Data.json file in the Data.csv file

func Exists

func Exists(fileName string) bool

Exists verifys if the json file exists and returns false if it doesn't or true if it does

func ReadJson

func ReadJson(pathFolder string, pathFileJson string, AllReads []models.Read) []models.Read

ReadJson reads the JSON file and returns a slice of type Read

func WriteJSON

func WriteJSON(data []models.Read, pathFileJson string)

WriteJson write the data in a JSON file

Types

This section is empty.

Jump to

Keyboard shortcuts

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