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 (
|
import (
|
||||||
"components/modules"
|
|
||||||
"components/utils"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"git.tcp.direct/moony/endless/components/modules"
|
||||||
|
"git.tcp.direct/moony/endless/internal/utils"
|
||||||
|
|
||||||
"github.com/zenthangplus/goccm"
|
"github.com/zenthangplus/goccm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
package modules
|
package modules
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"components/utils"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"net/http"
|
"net/http"
|
||||||
@ -9,6 +8,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"git.tcp.direct/moony/endless/internal/utils"
|
||||||
|
|
||||||
"h12.io/socks"
|
"h12.io/socks"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
package modules
|
package modules
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"components/utils"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"net/http"
|
"net/http"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"git.tcp.direct/moony/endless/internal/utils"
|
||||||
|
|
||||||
"github.com/zenthangplus/goccm"
|
"github.com/zenthangplus/goccm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
|||||||
module endless
|
module git.tcp.direct/moony/endless
|
||||||
|
|
||||||
go 1.20
|
go 1.20
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ import (
|
|||||||
|
|
||||||
"h12.io/socks"
|
"h12.io/socks"
|
||||||
|
|
||||||
"git.tcp.direct/moony/endless/internal/moonproxy"
|
"git.tcp.direct/moony/endless/internal/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
func GetHttpTransport(Proxy string) *http.Transport {
|
func GetHttpTransport(Proxy string) *http.Transport {
|
||||||
|
Loading…
Reference in New Issue
Block a user