transform into a badly structured go module
This commit is contained in:
parent
db7f5d7103
commit
375196f437
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
||||||
module HellPot
|
module github.com/yunginnanet/HellPot
|
||||||
|
|
||||||
go 1.16
|
go 1.16
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
2
http.go
2
http.go
|
@ -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"
|
||||||
|
|
8
main.go
8
main.go
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue