Skip to content

Commit

Permalink
* Fix all import statements due to changes to module name
Browse files Browse the repository at this point in the history
  • Loading branch information
edward-yakop committed Jan 1, 2021
1 parent 8e63ade commit 5e2507f
Show file tree
Hide file tree
Showing 15 changed files with 31 additions and 31 deletions.
4 changes: 2 additions & 2 deletions api/tickdata/stream/stream.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package stream

import (
"ed-fx/go-duka/api/tickdata"
"ed-fx/go-duka/internal/bi5"
"github.com/ed-fx/go-duka/api/tickdata"
"github.com/ed-fx/go-duka/internal/bi5"
"time"
"unknwon.dev/clog/v2"
)
Expand Down
2 changes: 1 addition & 1 deletion api/tickdata/stream/stream_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package stream

import (
"ed-fx/go-duka/api/tickdata"
"github.com/ed-fx/go-duka/api/tickdata"
"github.com/stretchr/testify/assert"
"io/ioutil"
"os"
Expand Down
4 changes: 2 additions & 2 deletions examples/stream/dd_finder_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package stream

import (
"ed-fx/go-duka/api/tickdata"
"ed-fx/go-duka/api/tickdata/stream"
"fmt"
"github.com/ed-fx/go-duka/api/tickdata"
"github.com/ed-fx/go-duka/api/tickdata/stream"
"github.com/stretchr/testify/assert"
"io/ioutil"
"math"
Expand Down
14 changes: 7 additions & 7 deletions internal/app/dukapp.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
package app

import (
"ed-fx/go-duka/api/tickdata"
iTickdata "ed-fx/go-duka/internal/tickdata"
"fmt"
"github.com/ed-fx/go-duka/api/tickdata"
iTickdata "github.com/ed-fx/go-duka/internal/tickdata"
"github.com/pkg/errors"
"os"
"path/filepath"
"strings"
"sync"
"time"

"ed-fx/go-duka/internal/core"
"ed-fx/go-duka/internal/export/csv"
"ed-fx/go-duka/internal/export/fxt4"
"ed-fx/go-duka/internal/export/hst"
"ed-fx/go-duka/internal/misc"
"github.com/ed-fx/go-duka/internal/core"
"github.com/ed-fx/go-duka/internal/export/csv"
"github.com/ed-fx/go-duka/internal/export/fxt4"
"github.com/ed-fx/go-duka/internal/export/hst"
"github.com/ed-fx/go-duka/internal/misc"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions internal/bi5/bi5.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package bi5

import (
"bytes"
"ed-fx/go-duka/api/instrument"
"ed-fx/go-duka/api/tickdata"
"encoding/binary"
"fmt"
"github.com/ed-fx/go-duka/api/instrument"
"github.com/ed-fx/go-duka/api/tickdata"
"github.com/pkg/errors"
"io"
"net/http"
Expand All @@ -14,7 +14,7 @@ import (
"strconv"
"time"

"ed-fx/go-duka/internal/core"
"github.com/ed-fx/go-duka/internal/core"
"github.com/ulikunitz/xz/lzma"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/core/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"path/filepath"
"time"

"ed-fx/go-duka/internal/misc"
"github.com/ed-fx/go-duka/internal/misc"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/core/parser.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package core

import (
"ed-fx/go-duka/api/tickdata"
"github.com/ed-fx/go-duka/api/tickdata"
"io"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/core/timeframe.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package core

import (
"ed-fx/go-duka/api/tickdata"
"github.com/ed-fx/go-duka/api/tickdata"
"regexp"
"strconv"
)
Expand Down
6 changes: 3 additions & 3 deletions internal/export/csv/csv.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package csv

import (
"ed-fx/go-duka/api/instrument"
"ed-fx/go-duka/api/tickdata"
"encoding/csv"
"fmt"
"github.com/ed-fx/go-duka/api/instrument"
"github.com/ed-fx/go-duka/api/tickdata"
"os"
"path/filepath"
"time"

"ed-fx/go-duka/internal/misc"
"github.com/ed-fx/go-duka/internal/misc"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions internal/export/fxt4/fxt4.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package fxt4
import (
"bufio"
"bytes"
"ed-fx/go-duka/api/tickdata"
"ed-fx/go-duka/internal/misc"
"encoding/binary"
"fmt"
"github.com/ed-fx/go-duka/api/tickdata"
"github.com/ed-fx/go-duka/internal/misc"
"io"
"math"
"os"
Expand Down
2 changes: 1 addition & 1 deletion internal/export/fxt4/header.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"time"

"ed-fx/go-duka/internal/misc"
"github.com/ed-fx/go-duka/internal/misc"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion internal/export/hst/header.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"time"

"ed-fx/go-duka/internal/misc"
"github.com/ed-fx/go-duka/internal/misc"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions internal/export/hst/hst401.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package hst

import (
"ed-fx/go-duka/api/tickdata"
"fmt"
"github.com/ed-fx/go-duka/api/tickdata"
"math"
"os"
"path/filepath"

"ed-fx/go-duka/internal/misc"
"github.com/ed-fx/go-duka/internal/misc"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions internal/tickdata/day.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package tickdata

import (
"ed-fx/go-duka/api/tickdata"
"ed-fx/go-duka/internal/bi5"
"github.com/ed-fx/go-duka/api/tickdata"
"github.com/ed-fx/go-duka/internal/bi5"
"github.com/pkg/errors"
"sort"
"sync"
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package main

import (
"ed-fx/go-duka/internal/app"
"flag"
"fmt"
"github.com/ed-fx/go-duka/internal/app"
"path/filepath"
"time"

"ed-fx/go-duka/internal/export/fxt4"
"github.com/ed-fx/go-duka/internal/export/fxt4"
"unknwon.dev/clog/v2"
)

Expand Down

0 comments on commit 5e2507f

Please sign in to comment.