changed module name with github official url

This commit is contained in:
Gregory Bednov 2025-08-10 12:22:09 +03:00
commit cf4580a8de
8 changed files with 18 additions and 12 deletions

View file

@ -6,9 +6,10 @@ import (
"encoding/json" "encoding/json"
"errors" "errors"
"fmt" "fmt"
"lbc/blockchain/types"
"strings" "strings"
"github.com/gregorybednov/lbc/blockchain/types"
"github.com/dgraph-io/badger" "github.com/dgraph-io/badger"
abci "github.com/tendermint/tendermint/abci/types" abci "github.com/tendermint/tendermint/abci/types"
) )

View file

@ -4,9 +4,10 @@ import (
"context" "context"
"fmt" "fmt"
"lbc/cfg"
"os" "os"
"github.com/gregorybednov/lbc/cfg"
"github.com/dgraph-io/badger" "github.com/dgraph-io/badger"
abci "github.com/tendermint/tendermint/abci/types" abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"

View file

@ -6,12 +6,13 @@ import (
"flag" "flag"
"fmt" "fmt"
"io" "io"
"lbc/yggdrasil"
"os" "os"
"path/filepath" "path/filepath"
"strconv" "strconv"
"time" "time"
"github.com/gregorybednov/lbc/yggdrasil"
"github.com/spf13/viper" "github.com/spf13/viper"
cfg "github.com/tendermint/tendermint/config" cfg "github.com/tendermint/tendermint/config"
"github.com/tendermint/tendermint/p2p" "github.com/tendermint/tendermint/p2p"

View file

@ -2,11 +2,12 @@ package cli
import ( import (
"fmt" "fmt"
"lbc/blockchain"
"lbc/cfg"
"os" "os"
"path/filepath" "path/filepath"
"github.com/gregorybednov/lbc/blockchain"
"github.com/gregorybednov/lbc/cfg"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View file

@ -3,13 +3,14 @@ package cli
import ( import (
"context" "context"
"fmt" "fmt"
"lbc/blockchain"
"lbc/cfg"
"lbc/yggdrasil"
"os" "os"
"os/signal" "os/signal"
"syscall" "syscall"
"github.com/gregorybednov/lbc/blockchain"
"github.com/gregorybednov/lbc/cfg"
"github.com/gregorybednov/lbc/yggdrasil"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View file

@ -4,8 +4,6 @@ import (
"context" "context"
"fmt" "fmt"
"io" "io"
"lbc/cfg"
"lbc/yggdrasil"
"log" "log"
"net" "net"
"net/url" "net/url"
@ -15,6 +13,9 @@ import (
"syscall" "syscall"
"time" "time"
"github.com/gregorybednov/lbc/cfg"
"github.com/gregorybednov/lbc/yggdrasil"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

2
go.mod
View file

@ -1,4 +1,4 @@
module lbc module github.com/gregorybednov/lbc
go 1.24.3 go 1.24.3

View file

@ -1,7 +1,7 @@
package main package main
import ( import (
"lbc/cli" "github.com/gregorybednov/lbc/cli"
) )
func main() { func main() {