1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-06-17 04:50:02 +02:00

go.mod: skip "internal" and use the root module and path.

This commit is contained in:
Henrik Hautakoski 2022-03-02 16:12:13 +01:00
parent bc3f859a8e
commit 3303ff0905
No known key found for this signature in database
GPG key ID: 608414D93E862CCD
5 changed files with 2 additions and 14 deletions

6
go.mod
View file

@ -12,10 +12,4 @@ require (
github.com/inconshreveable/log15 v0.0.0-20201112154412-8562bdadbbac
github.com/mattn/go-colorable v0.1.12 // indirect
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

View file

@ -1,3 +0,0 @@
module internal/api
go 1.14

View file

@ -3,7 +3,7 @@ package api
import (
"fmt"
"internal/utils"
"github.com/eosswedenorg/eosio-api-healthcheck/src/utils"
"github.com/eosswedenorg-go/haproxy"
"github.com/eosswedenorg-go/eosapi"
)

View file

@ -4,7 +4,7 @@ import (
"fmt"
"strings"
"strconv"
"internal/api"
"github.com/eosswedenorg/eosio-api-healthcheck/src/api"
"github.com/eosswedenorg-go/eosapi"
"github.com/eosswedenorg-go/haproxy"
"github.com/eosswedenorg-go/tcp_server"

View file

@ -1,3 +0,0 @@
module internal/utils
go 1.14