utils

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFileWriter

func CreateFileWriter(filePath string) (io.Writer, error)

func ParseJSONFile

func ParseJSONFile(filePath string, fileDesc string, v any) error

func ReadCSVFile

func ReadCSVFile(filePath string) ([][]string, error)

func WriteJSONFile

func WriteJSONFile(filePath string, fileDesc string, data any) error

func WriteToFile

func WriteToFile(filePath string, fileDesc string, content []byte) error

WriteToFile writes content to the given filePath, creating directories if needed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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