fileparser

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseCSVFile

func ParseCSVFile(filename string, target interface{}) error

ParseCSVFile will parse the csv file and store it to the struct

func ParseCSVFromGin added in v1.6.1

func ParseCSVFromGin(c *gin.Context, fileName string, target interface{}) error

ParseCSVFromGin parse uploaded files and store it to the struct

func ParseJSONFile

func ParseJSONFile(filename string, target interface{}) error

ParseJSONFile will parse the json file and store it to the struct

func ParseYamlFile

func ParseYamlFile(filename string, target interface{}) error

ParseYamlFile will parse the yaml file and store it to the struct

Types

This section is empty.

Jump to

Keyboard shortcuts

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