Skip to content

Commit ac15db7

Browse files
committed
update to fqn module path to support installation via "go install"
1 parent 27ff358 commit ac15db7

21 files changed

+41
-41
lines changed

cmd/parse.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ limitations under the License.
1616
package cmd
1717

1818
import (
19-
"mrfparse/pkg/mrfparse/mrf"
20-
"mrfparse/pkg/mrfparse/utils"
19+
"github.com/danielchalef/mrfparse/pkg/mrfparse/mrf"
20+
"github.com/danielchalef/mrfparse/pkg/mrfparse/utils"
2121

2222
"github.com/spf13/cobra"
2323
)

cmd/pipeline.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ limitations under the License.
1616
package cmd
1717

1818
import (
19-
"mrfparse/pkg/mrfparse/pipeline"
20-
"mrfparse/pkg/mrfparse/utils"
19+
"github.com/danielchalef/mrfparse/pkg/mrfparse/pipeline"
20+
"github.com/danielchalef/mrfparse/pkg/mrfparse/utils"
2121

2222
"github.com/spf13/cobra"
2323
)

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ limitations under the License.
1616
package cmd
1717

1818
import (
19-
"mrfparse/pkg/mrfparse/utils"
19+
"github.com/danielchalef/mrfparse/pkg/mrfparse/utils"
2020
"os"
2121
"runtime/pprof"
2222
"strings"

cmd/split.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ limitations under the License.
1616
package cmd
1717

1818
import (
19-
"mrfparse/pkg/mrfparse/split"
20-
"mrfparse/pkg/mrfparse/utils"
19+
"github.com/danielchalef/mrfparse/pkg/mrfparse/split"
20+
"github.com/danielchalef/mrfparse/pkg/mrfparse/utils"
2121

2222
"github.com/spf13/cobra"
2323
)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module mrfparse
1+
module github.com/danielchalef/mrfparse
22

33
go 1.19
44

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ limitations under the License.
1515
*/
1616
package main
1717

18-
import "mrfparse/cmd"
18+
import "github.com/danielchalef/mrfparse/cmd"
1919

2020
func main() {
2121
cmd.Execute()

pkg/mrfparse/cloud/blob.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ package cloud
1818
import (
1919
"context"
2020
"errors"
21+
"github.com/danielchalef/mrfparse/pkg/mrfparse/utils"
2122
"io"
22-
"mrfparse/pkg/mrfparse/utils"
2323
"net/url"
2424
"os"
2525
"path/filepath"

pkg/mrfparse/mrf/in_network_rates.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ import (
1919
"bufio"
2020
"context"
2121
"fmt"
22+
"github.com/danielchalef/mrfparse/pkg/mrfparse/cloud"
23+
"github.com/danielchalef/mrfparse/pkg/mrfparse/models"
24+
"github.com/danielchalef/mrfparse/pkg/mrfparse/utils"
2225
"io"
23-
"mrfparse/pkg/mrfparse/cloud"
24-
"mrfparse/pkg/mrfparse/models"
25-
"mrfparse/pkg/mrfparse/utils"
2626
"strings"
2727

2828
"github.com/minio/simdjson-go"

pkg/mrfparse/mrf/in_network_rates_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ limitations under the License.
1616
package mrf
1717

1818
import (
19-
"mrfparse/pkg/mrfparse/models"
20-
"mrfparse/pkg/mrfparse/utils"
19+
"github.com/danielchalef/mrfparse/pkg/mrfparse/models"
20+
"github.com/danielchalef/mrfparse/pkg/mrfparse/utils"
2121
"testing"
2222

2323
mapset "github.com/deckarep/golang-set/v2"

pkg/mrfparse/mrf/parse.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ package mrf
1717

1818
import (
1919
"context"
20-
"mrfparse/pkg/mrfparse/cloud"
21-
"mrfparse/pkg/mrfparse/models"
22-
"mrfparse/pkg/mrfparse/parquet"
23-
"mrfparse/pkg/mrfparse/utils"
20+
"github.com/danielchalef/mrfparse/pkg/mrfparse/cloud"
21+
"github.com/danielchalef/mrfparse/pkg/mrfparse/models"
22+
"github.com/danielchalef/mrfparse/pkg/mrfparse/parquet"
23+
"github.com/danielchalef/mrfparse/pkg/mrfparse/utils"
2424
"path/filepath"
2525
"strings"
2626

pkg/mrfparse/mrf/provider_references.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ import (
1919
"bufio"
2020
"context"
2121
"fmt"
22+
"github.com/danielchalef/mrfparse/pkg/mrfparse/cloud"
23+
"github.com/danielchalef/mrfparse/pkg/mrfparse/models"
24+
"github.com/danielchalef/mrfparse/pkg/mrfparse/utils"
2225
"io"
23-
"mrfparse/pkg/mrfparse/cloud"
24-
"mrfparse/pkg/mrfparse/models"
25-
"mrfparse/pkg/mrfparse/utils"
2626
"strings"
2727
"sync/atomic"
2828

pkg/mrfparse/mrf/provider_references_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ limitations under the License.
1616
package mrf
1717

1818
import (
19-
"mrfparse/pkg/mrfparse/models"
20-
"mrfparse/pkg/mrfparse/utils"
19+
"github.com/danielchalef/mrfparse/pkg/mrfparse/models"
20+
"github.com/danielchalef/mrfparse/pkg/mrfparse/utils"
2121
"testing"
2222

2323
"github.com/stretchr/testify/assert"

pkg/mrfparse/mrf/record_writer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ limitations under the License.
1515
*/
1616
package mrf
1717

18-
import "mrfparse/pkg/mrfparse/models"
18+
import "github.com/danielchalef/mrfparse/pkg/mrfparse/models"
1919

2020
var WriteRecords func(records []*models.Mrf) error
2121

pkg/mrfparse/mrf/root.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ import (
1919
"context"
2020
"encoding/json"
2121
"errors"
22+
"github.com/danielchalef/mrfparse/pkg/mrfparse/cloud"
23+
"github.com/danielchalef/mrfparse/pkg/mrfparse/models"
24+
"github.com/danielchalef/mrfparse/pkg/mrfparse/utils"
2225
"io"
23-
"mrfparse/pkg/mrfparse/cloud"
24-
"mrfparse/pkg/mrfparse/models"
25-
"mrfparse/pkg/mrfparse/utils"
2626
"path/filepath"
2727
"strconv"
2828
"strings"

pkg/mrfparse/mrf/services.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ package mrf
1818
import (
1919
"context"
2020
"encoding/csv"
21+
"github.com/danielchalef/mrfparse/pkg/mrfparse/cloud"
22+
"github.com/danielchalef/mrfparse/pkg/mrfparse/utils"
2123
"io"
22-
"mrfparse/pkg/mrfparse/cloud"
23-
"mrfparse/pkg/mrfparse/utils"
2424

2525
mapset "github.com/deckarep/golang-set/v2"
2626
"github.com/spf13/viper"

pkg/mrfparse/parquet/pq_writer_factory.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ package parquet
1818
import (
1919
"context"
2020
"fmt"
21+
"github.com/danielchalef/mrfparse/pkg/mrfparse/cloud"
22+
"github.com/danielchalef/mrfparse/pkg/mrfparse/models"
2123
"io"
22-
"mrfparse/pkg/mrfparse/cloud"
23-
"mrfparse/pkg/mrfparse/models"
2424

2525
"github.com/segmentio/parquet-go"
2626
"github.com/spf13/viper"

pkg/mrfparse/parquet/pq_writer_factory_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ package parquet
1717

1818
import (
1919
"context"
20-
"mrfparse/pkg/mrfparse/models"
21-
"mrfparse/pkg/mrfparse/utils"
20+
"github.com/danielchalef/mrfparse/pkg/mrfparse/models"
21+
"github.com/danielchalef/mrfparse/pkg/mrfparse/utils"
2222
"testing"
2323

2424
"github.com/alecthomas/assert/v2"

pkg/mrfparse/parquet/writer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ package parquet
1717

1818
import (
1919
"context"
20-
"mrfparse/pkg/mrfparse/models"
21-
"mrfparse/pkg/mrfparse/utils"
20+
"github.com/danielchalef/mrfparse/pkg/mrfparse/models"
21+
"github.com/danielchalef/mrfparse/pkg/mrfparse/utils"
2222
)
2323

2424
var log = utils.GetLogger()

pkg/mrfparse/pipeline/framework.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ limitations under the License.
1616
package pipeline
1717

1818
import (
19-
"mrfparse/pkg/mrfparse/utils"
19+
"github.com/danielchalef/mrfparse/pkg/mrfparse/utils"
2020
)
2121

2222
// A very simple composable pipeline framework. Steps are added to a pipeline and then run in order.

pkg/mrfparse/pipeline/steps.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ limitations under the License.
1616
package pipeline
1717

1818
import (
19-
"mrfparse/pkg/mrfparse/mrf"
20-
"mrfparse/pkg/mrfparse/split"
21-
"mrfparse/pkg/mrfparse/utils"
19+
"github.com/danielchalef/mrfparse/pkg/mrfparse/mrf"
20+
"github.com/danielchalef/mrfparse/pkg/mrfparse/split"
21+
"github.com/danielchalef/mrfparse/pkg/mrfparse/utils"
2222
"os"
2323

2424
"github.com/spf13/viper"

pkg/mrfparse/split/split.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ limitations under the License.
1616
package split
1717

1818
import (
19-
"mrfparse/pkg/mrfparse/utils"
19+
"github.com/danielchalef/mrfparse/pkg/mrfparse/utils"
2020

2121
"github.com/danielchalef/jsplit/pkg/jsplit"
2222
)

0 commit comments

Comments
 (0)