transform into a badly structured go module

This commit is contained in:
kayos 2021-06-11 17:19:36 -07:00
parent db7f5d7103
commit 375196f437
5 changed files with 8 additions and 8 deletions

2
go.mod
View File

@ -1,4 +1,4 @@
module HellPot module github.com/yunginnanet/HellPot
go 1.16 go 1.16

View File

@ -1,9 +1,9 @@
package main package main
import ( import (
"HellPot/src/config"
"context" "context"
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/yunginnanet/HellPot/src/config"
"net/http" "net/http"
"os" "os"
"os/signal" "os/signal"

View File

@ -1,8 +1,8 @@
package main package main
import ( import (
"HellPot/src/config"
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/yunginnanet/HellPot/src/config"
"io" "io"
"net/http" "net/http"
"sync" "sync"

View File

@ -2,16 +2,16 @@ package main
import ( import (
// zerolog json logging and console pretty printing // zerolog json logging and console pretty printing
"HellPot/src/logger"
"github.com/rs/zerolog" "github.com/rs/zerolog"
"github.com/yunginnanet/HellPot/src/logger"
// viper configuration engine for a toml config file // viper configuration engine for a toml config file
"HellPot/src/config" "github.com/yunginnanet/HellPot/src/config"
// ascii banners and other aesthetic shit // ascii banners and other aesthetic shit
"HellPot/src/decorate" "github.com/yunginnanet/HellPot/src/decorate"
// bitcask embedded key/value database // bitcask embedded key/value database
//"HellPot/src/casket" //"github.com/yunginnanet/HellPot/src/casket"
) )
var log zerolog.Logger var log zerolog.Logger

View File

@ -4,7 +4,7 @@ import (
//"fmt" //"fmt"
"github.com/rs/zerolog" "github.com/rs/zerolog"
//"github.com/rs/zerolog/log" //"github.com/rs/zerolog/log"
"HellPot/src/config" "github.com/yunginnanet/HellPot/src/config"
"os" "os"
"time" "time"
) )