Commit graph

7 commits

Author SHA1 Message Date
Matthew Jaffee
e297a6775d have simulacradata tests clean up generated files 2022-01-17 09:39:28 -06:00
reesporte
48aef0c8a4 add copyright notice back in
```bash
for file in `cat diffys`; do
   printf '%s\n%s\n' "// Copyright 2021 Molecula Corp. All rights reserved." "$(cat $file)" >$file;
done
```
2021-12-10 11:01:04 -06:00
reesporte
4c53f86e82 removed license from each go file
i used this script, a little clunky but it got the job done

```bash
for file in `find . -type f -print | grep '\.go'`; do
    sed '1,/^\/\/ limitations under the License.$/d' $file > $file.tmp;
    result=`cat $file.tmp`
    if [[ result != "" ]]; then
        gofmt $file.tmp &> /dev/null;
        if [[ $? == 0 ]]; then
            mv $file.tmp $file && gofmt -w $file;
        else
            rm $file.tmp;
        fi
    else
        rm $file.tmp;
    fi
done
```
2021-12-10 09:17:17 -06:00
kcrodgers24
50e7cda07f modify functions to accept a requested num of records 2021-11-22 14:53:17 -08:00
kcrodgers24
49289f2237 replace fmt.Print with t.Fatal, and improve date generator 2021-11-22 13:53:41 -08:00
kcrodgers24
2385fda259 add tests, remove commented code 2021-11-22 10:45:12 -08:00
kcrodgers24
97c4ee670b add tests 2021-11-22 10:43:13 -08:00