code refactor

This commit is contained in:
Ulric Qin 2020-09-26 23:30:34 +08:00
parent a90adf1212
commit 405114a893
3 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View File

@ -31,6 +31,7 @@ _test
/etc/*.local.yml
/etc/log/log.test.json
/data*
/tarball
.idea
.index

View File

@ -177,7 +177,9 @@ reload()
pack()
{
tar zcvf n9e-${version}.tar.gz control sql etc
mkdir -p tarball
mv *.tar.gz tarball
tar zcvf n9e-${version}.tar.gz control sql etc n9e-*
}
case "$1" in

2
go.mod
View File

@ -22,6 +22,8 @@ require (
github.com/influxdata/influxdb v1.8.0
github.com/mattn/go-isatty v0.0.12
github.com/mattn/go-sqlite3 v1.14.0 // indirect
github.com/onsi/ginkgo v1.7.0 // indirect
github.com/onsi/gomega v1.4.3 // indirect
github.com/open-falcon/rrdlite v0.0.0-20200214140804-bf5829f786ad
github.com/pquerna/cachecontrol v0.0.0-20200819021114-67c6ae64274f // indirect
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 // indirect