Merge pull request 'Fix: go module issue' (#1) from kayos/endless:main into main
Reviewed-on: #1 Thanks, I'm still get confused my go mod dependencies at times. Especially when they were once a package and I try to refactor that pacakage.
This commit is contained in:
commit
15d21d3717
|
@ -1,11 +1,12 @@
|
|||
package endless
|
||||
package main
|
||||
|
||||
import (
|
||||
"components/modules"
|
||||
"components/utils"
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"git.tcp.direct/moony/endless/components/modules"
|
||||
"git.tcp.direct/moony/endless/internal/utils"
|
||||
|
||||
"github.com/zenthangplus/goccm"
|
||||
)
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package modules
|
||||
|
||||
import (
|
||||
"components/utils"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
|
@ -9,6 +8,8 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"git.tcp.direct/moony/endless/internal/utils"
|
||||
|
||||
"h12.io/socks"
|
||||
)
|
||||
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
package modules
|
||||
|
||||
import (
|
||||
"components/utils"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"git.tcp.direct/moony/endless/internal/utils"
|
||||
|
||||
"github.com/zenthangplus/goccm"
|
||||
)
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
|
||||
"h12.io/socks"
|
||||
|
||||
"git.tcp.direct/moony/endless/internal/moonproxy"
|
||||
"git.tcp.direct/moony/endless/internal/utils"
|
||||
)
|
||||
|
||||
func GetHttpTransport(Proxy string) *http.Transport {
|
||||
|
|
Loading…
Reference in New Issue