sample

package
v0.0.0-...-cc584bd Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

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

	// DefaultTargetDir to use when creating sample data
	DefaultTargetDir = "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