changed module name with github official url
This commit is contained in:
parent
0b102f2272
commit
cf4580a8de
8 changed files with 18 additions and 12 deletions
|
|
@ -6,9 +6,10 @@ import (
|
|||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"lbc/blockchain/types"
|
||||
"strings"
|
||||
|
||||
"github.com/gregorybednov/lbc/blockchain/types"
|
||||
|
||||
"github.com/dgraph-io/badger"
|
||||
abci "github.com/tendermint/tendermint/abci/types"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -4,9 +4,10 @@ import (
|
|||
"context"
|
||||
"fmt"
|
||||
|
||||
"lbc/cfg"
|
||||
"os"
|
||||
|
||||
"github.com/gregorybednov/lbc/cfg"
|
||||
|
||||
"github.com/dgraph-io/badger"
|
||||
abci "github.com/tendermint/tendermint/abci/types"
|
||||
"github.com/tendermint/tendermint/libs/log"
|
||||
|
|
|
|||
|
|
@ -6,12 +6,13 @@ import (
|
|||
"flag"
|
||||
"fmt"
|
||||
"io"
|
||||
"lbc/yggdrasil"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/gregorybednov/lbc/yggdrasil"
|
||||
|
||||
"github.com/spf13/viper"
|
||||
cfg "github.com/tendermint/tendermint/config"
|
||||
"github.com/tendermint/tendermint/p2p"
|
||||
|
|
|
|||
|
|
@ -2,11 +2,12 @@ package cli
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"lbc/blockchain"
|
||||
"lbc/cfg"
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/gregorybednov/lbc/blockchain"
|
||||
"github.com/gregorybednov/lbc/cfg"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -3,13 +3,14 @@ package cli
|
|||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"lbc/blockchain"
|
||||
"lbc/cfg"
|
||||
"lbc/yggdrasil"
|
||||
"os"
|
||||
"os/signal"
|
||||
"syscall"
|
||||
|
||||
"github.com/gregorybednov/lbc/blockchain"
|
||||
"github.com/gregorybednov/lbc/cfg"
|
||||
"github.com/gregorybednov/lbc/yggdrasil"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,8 +4,6 @@ import (
|
|||
"context"
|
||||
"fmt"
|
||||
"io"
|
||||
"lbc/cfg"
|
||||
"lbc/yggdrasil"
|
||||
"log"
|
||||
"net"
|
||||
"net/url"
|
||||
|
|
@ -15,6 +13,9 @@ import (
|
|||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/gregorybednov/lbc/cfg"
|
||||
"github.com/gregorybednov/lbc/yggdrasil"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
|
|
|||
2
go.mod
2
go.mod
|
|
@ -1,4 +1,4 @@
|
|||
module lbc
|
||||
module github.com/gregorybednov/lbc
|
||||
|
||||
go 1.24.3
|
||||
|
||||
|
|
|
|||
2
main.go
2
main.go
|
|
@ -1,7 +1,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"lbc/cli"
|
||||
"github.com/gregorybednov/lbc/cli"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue