sample

package
v0.0.0-...-3a6d151 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MaxLines to use when creating sample data
	MaxLines = 10000

	// TargetDir to use when creating sample data
	TargetDir = "sample"
)

Variables

This section is empty.

Functions

func Sample

func Sample(src, target string, m int, updatedAt string) error

Sample generates sample data on the target directory, coping the first `m` lines of each file from the source directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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