Skip to content

Commit a519084

Browse files
committed
Remove.env from main
1 parent 9be6f04 commit a519084

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

packet-sender/main.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import (
77
"os"
88
"os/signal"
99
"time"
10-
11-
"github.com/joho/godotenv"
1210
)
1311

1412
const (
@@ -61,12 +59,6 @@ func generatePackets(adjInstance adj.ADJ) []adj.Packet {
6159
}*/
6260

6361
func main() {
64-
err := godotenv.Load(".env")
65-
66-
if err != nil {
67-
log.Fatal("Error loading .env", err)
68-
}
69-
7062
_ = createListener(lip, lport, rip, rport)
7163
conn := getConn(lip, lport, rip, rport)
7264
defer conn.Close()

0 commit comments

Comments
 (0)