diff --git a/apier/cdre.go b/apier/cdre.go
index c5b77651e..36ac6898b 100644
--- a/apier/cdre.go
+++ b/apier/cdre.go
@@ -20,7 +20,7 @@ package apier
import (
"fmt"
- "github.com/cgrates/cgrates/cdrexporter"
+ "github.com/cgrates/cgrates/cdre"
"github.com/cgrates/cgrates/config"
"github.com/cgrates/cgrates/utils"
"os"
@@ -66,7 +66,7 @@ func (self *ApierV1) ExportCdrsToFile(attr utils.AttrExpFileCdrs, reply *utils.E
} else {
defer fileOut.Close()
}
- csvWriter := cdrexporter.NewCsvCdrWriter(fileOut, self.Config.RoundingDecimals, exportedFields)
+ csvWriter := cdre.NewCsvCdrWriter(fileOut, self.Config.RoundingDecimals, exportedFields)
for _, cdr := range cdrs {
if err := csvWriter.Write(cdr); err != nil {
os.Remove(fileName)
diff --git a/cdrexporter/cdrexporter.go b/cdre/cdrexporter.go
similarity index 97%
rename from cdrexporter/cdrexporter.go
rename to cdre/cdrexporter.go
index 466a9268a..19431f9eb 100644
--- a/cdrexporter/cdrexporter.go
+++ b/cdre/cdrexporter.go
@@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
-package cdrexporter
+package cdre
import (
"github.com/cgrates/cgrates/utils"
diff --git a/cdrexporter/csv.go b/cdre/csv.go
similarity index 98%
rename from cdrexporter/csv.go
rename to cdre/csv.go
index 6080ba4c5..3c7aecc47 100644
--- a/cdrexporter/csv.go
+++ b/cdre/csv.go
@@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
-package cdrexporter
+package cdre
import (
"encoding/csv"
diff --git a/cdrexporter/csv_test.go b/cdre/csv_test.go
similarity index 99%
rename from cdrexporter/csv_test.go
rename to cdre/csv_test.go
index 0e5c7a31d..6d664daa9 100644
--- a/cdrexporter/csv_test.go
+++ b/cdre/csv_test.go
@@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
-package cdrexporter
+package cdre
import (
"bytes"
diff --git a/cdrexporter/fixedwidth.go b/cdre/fixedwidth.go
similarity index 99%
rename from cdrexporter/fixedwidth.go
rename to cdre/fixedwidth.go
index 9548d7357..baec41987 100644
--- a/cdrexporter/fixedwidth.go
+++ b/cdre/fixedwidth.go
@@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
-package cdrexporter
+package cdre
import (
"fmt"
diff --git a/cdrexporter/fixedwidth_test.go b/cdre/fixedwidth_test.go
similarity index 99%
rename from cdrexporter/fixedwidth_test.go
rename to cdre/fixedwidth_test.go
index 9ed650ada..b9507a456 100644
--- a/cdrexporter/fixedwidth_test.go
+++ b/cdre/fixedwidth_test.go
@@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see
*/
-package cdrexporter
+package cdre
import (
"testing"
diff --git a/test.sh b/test.sh
index 19add0394..0789794ca 100755
--- a/test.sh
+++ b/test.sh
@@ -11,7 +11,7 @@ go test -i github.com/cgrates/cgrates/cdrs
go test -i github.com/cgrates/cgrates/cdrc
go test -i github.com/cgrates/cgrates/utils
go test -i github.com/cgrates/cgrates/history
-go test -i github.com/cgrates/cgrates/cdrexporter
+go test -i github.com/cgrates/cgrates/cdre
go test github.com/cgrates/cgrates/engine
en=$?
@@ -35,7 +35,7 @@ go test github.com/cgrates/cgrates/history
hs=$?
go test github.com/cgrates/cgrates/cache2go
c2g=$?
-go test github.com/cgrates/cgrates/cdrexporter
+go test github.com/cgrates/cgrates/cdre
cdre=$?