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"
"errors"
"fmt"
"lbc/blockchain/types"
"strings"
"github.com/gregorybednov/lbc/blockchain/types"
"github.com/dgraph-io/badger"
abci "github.com/tendermint/tendermint/abci/types"
)

View file

@ -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"

View file

@ -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"

View file

@ -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"
)

View file

@ -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"
)

View file

@ -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
View file

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

View file

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