Documentation ¶ Index ¶ Constants func Sample(src, target string, m int, updatedAt string) error 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. Source Files ¶ View all Source files sample.go Click to show internal directories. Click to hide internal directories.