Skip to content

Commit 0fa8255

Browse files
Develop (#9)
* V2.0 kickoff + Refactor arguments - They are now subdivided into database and tables - More control of how the tables or database with be mocked + Now you can generate a full fake database mimicking a real world database + Now you can generate x amount of tables in the database * Delete clean.sh * Update random data generator functions * Cleanup & Refactor Randomizer code * Mocking Data is complete + Code Refactor + Shorter Functions + Loading of data into the the database table is working * Add option to ignore creating constraints and also enable no prompt option * Code cleanup and update comment * Code CleanUp * Code cleanup * Finish the creation of PK and Unique Violation * Beautify SQL Query * Ported the code to fix foriegn key constraints * Now you can mock all the tables by schema * Custom loading Now you can create a plan of how you want to load the data and then modify it to tell the mocker on data to be added * Script to build the package for various OS platform * Upload README * Update README.md * Update README.md Update the usage and installation * format correction * Update README.md * Minor adjustments + Create separate demo database for postgres and greenplum, since greenplum fails a lot with distribution key + Upload supported database table + Readme adjustments * format the demo database * Update examples * Add toc to readme * Update README.md * Update README.md * Formatting code * Update README.md
1 parent 38f09a1 commit 0fa8255

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+5721
-4473
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@
1313
# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736
1414
.glide/
1515

16+
# Local drive
1617
.idea/
17-
mockd_*.sql
18+
clean.sh
19+
vendor
20+
run_dev.sh

Gopkg.lock

Lines changed: 288 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Gopkg.toml example
2+
#
3+
# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
4+
# for detailed Gopkg.toml documentation.
5+
#
6+
# required = ["github.com/user/thing/cmd/thing"]
7+
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
8+
#
9+
# [[constraint]]
10+
# name = "github.com/user/project"
11+
# version = "1.0.0"
12+
#
13+
# [[constraint]]
14+
# name = "github.com/user/project2"
15+
# branch = "dev"
16+
# source = "github.com/myfork/project2"
17+
#
18+
# [[override]]
19+
# name = "github.com/x/y"
20+
# version = "2.4.0"
21+
#
22+
# [prune]
23+
# non-go = false
24+
# go-tests = true
25+
# unused-packages = true
26+
27+
28+
[[constraint]]
29+
name = "github.com/go-pg/pg"
30+
version = "8.0.6"
31+
32+
[[constraint]]
33+
name = "github.com/google/uuid"
34+
version = "1.1.1"
35+
36+
[[constraint]]
37+
branch = "master"
38+
name = "github.com/icrowley/fake"
39+
40+
[[constraint]]
41+
branch = "master"
42+
name = "github.com/k0kubun/go-ansi"
43+
44+
[[constraint]]
45+
name = "github.com/schollz/progressbar"
46+
version = "2.15.0"
47+
48+
[[constraint]]
49+
name = "github.com/sirupsen/logrus"
50+
version = "1.4.2"
51+
52+
[[constraint]]
53+
name = "github.com/spf13/cobra"
54+
version = "0.0.5"
55+
56+
[[constraint]]
57+
name = "github.com/spf13/viper"
58+
version = "1.6.2"
59+
60+
[prune]
61+
go-tests = true
62+
unused-packages = true

0 commit comments

Comments
 (0)