Skip to content

Commit

Permalink
feat: update modules to DanielFillol
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielFillol committed Oct 19, 2023
1 parent 7882764 commit 191aab8
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CNJ/decomposer.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package CNJ

import (
"errors"
"github.com/Darklabel91/CNJ_Validate/CNJDatabase"
"github.com/DanielFillol/CNJ_Validate/CNJDatabase"
"strings"
)

Expand Down
6 changes: 3 additions & 3 deletions CNJCSV/analyzeCSV.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ package CNJCSV

import (
"fmt"
"github.com/Darklabel91/CNJ_Validate/CNJ"
"github.com/DanielFillol/CNJ_Validate/CNJ"
)

// AnalyzeCNJCSV creates a csv with every single row with AnalyzeCNJ
//from a given raw file and separator rune in a given folder
// from a given raw file and separator rune in a given folder
func AnalyzeCNJCSV(rawFilePath string, separator rune, nameResultFolder string) error {
raw, err := readCsvFile(rawFilePath, separator)
if err != nil {
Expand All @@ -22,7 +22,7 @@ func AnalyzeCNJCSV(rawFilePath string, separator rune, nameResultFolder string)
return nil
}

//execute the AnalyzeCNJ from a []string
// execute the AnalyzeCNJ from a []string
func createCSVs(raw []string, nameResultFolder string) error {
var analyzeCNJCSV []CNJ.AnalysisCNJ

Expand Down
4 changes: 2 additions & 2 deletions CNJCSV/write.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ package CNJCSV

import (
"encoding/csv"
"github.com/Darklabel91/CNJ_Validate/CNJ"
"github.com/DanielFillol/CNJ_Validate/CNJ"
"os"
"path/filepath"
"strconv"
)

//writeCSV exports a csv to a given folder, with a given name from a collection of AnalysisCNJ
// writeCSV exports a csv to a given folder, with a given name from a collection of AnalysisCNJ
func writeCSV(fileName string, folderName string, cnjRows []CNJ.AnalysisCNJ) error {
var rows [][]string

Expand Down
4 changes: 2 additions & 2 deletions Test/cnj_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package Test

import (
"github.com/Darklabel91/CNJ_Validate/CNJ"
"github.com/Darklabel91/CNJ_Validate/CNJCSV"
"github.com/DanielFillol/CNJ_Validate/CNJ"
"github.com/DanielFillol/CNJ_Validate/CNJCSV"
"reflect"
"testing"
)
Expand Down
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
module github.com/DanielFillol/CNJ_Validate

go 1.20

require github.com/Darklabel91/CNJ_Validate v1.4.2
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
github.com/Darklabel91/CNJ_Validate v1.4.2 h1:7jyNkB1WcdYhzzDRUNkuXJDnCa3+yycVFh6N9VSswkQ=
github.com/Darklabel91/CNJ_Validate v1.4.2/go.mod h1:ZJ5md/jQDwONBpgUqys/1fajfxN3Iz88J8tRjfg9U8A=

0 comments on commit 191aab8

Please sign in to comment.