helpers

package
v0.0.0-...-525db63 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package helpers provides functions to reduce the code and facilitate the testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAllSampleData

func LoadAllSampleData() ([][]string, error)

LoadAllSampleData loads all the sample data from a CSV file.

func LoadSampleData

func LoadSampleData(limit, offset int) ([][]string, error)

LoadSampleData loads sample data from a CSV file.

When limit is -1, it loads all the data. When offset is -1, it loads the header too.

Types

This section is empty.

Jump to

Keyboard shortcuts

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