This commit is contained in:
@ -4,6 +4,9 @@ import (
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"net/http"
|
||||
_ "net/http/pprof"
|
||||
|
||||
"github.com/joho/godotenv"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
@ -15,6 +18,10 @@ func init() {
|
||||
var commands = make([]*cli.Command, 0)
|
||||
|
||||
func main() {
|
||||
go func() {
|
||||
log.Println(http.ListenAndServe("localhost:60089", nil))
|
||||
}()
|
||||
|
||||
s := &cli.App{
|
||||
Name: "platiparser",
|
||||
Commands: commands,
|
||||
|
Reference in New Issue
Block a user