mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-07-03 11:53:43 +02:00
go.mod: skip "internal" and use the root module and path.
This commit is contained in:
parent
bc3f859a8e
commit
3303ff0905
5 changed files with 2 additions and 14 deletions
6
go.mod
6
go.mod
|
|
@ -12,10 +12,4 @@ require (
|
||||||
github.com/inconshreveable/log15 v0.0.0-20201112154412-8562bdadbbac
|
github.com/inconshreveable/log15 v0.0.0-20201112154412-8562bdadbbac
|
||||||
github.com/mattn/go-colorable v0.1.12 // indirect
|
github.com/mattn/go-colorable v0.1.12 // indirect
|
||||||
github.com/pborman/getopt/v2 v2.1.0
|
github.com/pborman/getopt/v2 v2.1.0
|
||||||
internal/api v1.0.0
|
|
||||||
internal/utils v1.0.0
|
|
||||||
)
|
)
|
||||||
|
|
||||||
replace internal/utils => ./src/utils
|
|
||||||
|
|
||||||
replace internal/api => ./src/api
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
module internal/api
|
|
||||||
|
|
||||||
go 1.14
|
|
||||||
|
|
@ -3,7 +3,7 @@ package api
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"internal/utils"
|
"github.com/eosswedenorg/eosio-api-healthcheck/src/utils"
|
||||||
"github.com/eosswedenorg-go/haproxy"
|
"github.com/eosswedenorg-go/haproxy"
|
||||||
"github.com/eosswedenorg-go/eosapi"
|
"github.com/eosswedenorg-go/eosapi"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
"strconv"
|
"strconv"
|
||||||
"internal/api"
|
"github.com/eosswedenorg/eosio-api-healthcheck/src/api"
|
||||||
"github.com/eosswedenorg-go/eosapi"
|
"github.com/eosswedenorg-go/eosapi"
|
||||||
"github.com/eosswedenorg-go/haproxy"
|
"github.com/eosswedenorg-go/haproxy"
|
||||||
"github.com/eosswedenorg-go/tcp_server"
|
"github.com/eosswedenorg-go/tcp_server"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
module internal/utils
|
|
||||||
|
|
||||||
go 1.14
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue