From 06d17fe26b09821c66ccb22f785db60331a7bc2a Mon Sep 17 00:00:00 2001 From: Mathias Kaufmann Date: Tue, 13 Mar 2018 23:36:53 +0100 Subject: [PATCH] use github.com/namsral/flag for flags github.com/namsral/flag enables environment and config file parsing Signed-off-by: Mathias Kaufmann --- goircd.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/goircd.go b/goircd.go index a48b33e..128dcf3 100644 --- a/goircd.go +++ b/goircd.go @@ -20,7 +20,6 @@ package main import ( "crypto/tls" - "flag" "io/ioutil" "log" "net" @@ -30,6 +29,8 @@ import ( "strings" "time" + "github.com/namsral/flag" + proxyproto "github.com/Freeaqingme/go-proxyproto" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp"