faker

command module
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: MIT Imports: 15 Imported by: 0

README

faker

Description

faker is a tool to generate fake data for testing purposes.

Usage

Build
go build ./...
Run
go run ./...
Test
go test -v --cover --race ./...

Apendix

MySQL
Show database table sizes in GB and fragmented space in GB
SELECT
 table_schema AS `Database`,
 table_name AS `Table`,
 round(((data_length + index_length) / 1024 / 1024 / 1024), 4) 'Size in GB',
 round(((data_free) / 1024 / 1024 / 1024), 4) 'Fragmented Space in GB'
 FROM
 information_schema.TABLES
 WHERE
 table_schema NOT IN ('information_schema', 'mysql', 'performance_schema', 'sys');

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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