handlers

package
v0.0.0-...-ebc8d9a Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNewData

func CreateNewData(existingCSVData [][]string, answers [][]string) [][]string

func HandleCSV

func HandleCSV(answers [][]string, filename string, filepath string)

func ParseChoiceAnswer

func ParseChoiceAnswer(answer string, q types.Question) (int, error)

func PromptUserQuestions

func PromptUserQuestions(questions []types.Question) [][]string

func ReadExistingCSV

func ReadExistingCSV(filename string, filepath string) [][]string

func SaveDataToCSV

func SaveDataToCSV(newData [][]string, filename, filepath string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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