mirror of https://github.com/fluffle/goirc
Remove explicit dependency on optional logging packages.
This commit is contained in:
parent
b2c51c13c6
commit
d8596aa285
|
@ -8,7 +8,6 @@ import (
|
|||
"strings"
|
||||
|
||||
irc "github.com/fluffle/goirc/client"
|
||||
"github.com/fluffle/goirc/logging/glog"
|
||||
)
|
||||
|
||||
var host *string = flag.String("host", "irc.freenode.net", "IRC server")
|
||||
|
@ -16,7 +15,6 @@ var channel *string = flag.String("channel", "#go-nuts", "IRC channel")
|
|||
|
||||
func main() {
|
||||
flag.Parse()
|
||||
glog.Init()
|
||||
|
||||
// create new IRC connection
|
||||
c := irc.SimpleClient("GoTest", "gotest")
|
||||
|
|
4
go.mod
4
go.mod
|
@ -1,8 +1,8 @@
|
|||
module github.com/fluffle/goirc
|
||||
|
||||
require (
|
||||
github.com/fluffle/golog v1.0.2
|
||||
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
|
||||
github.com/golang/mock v1.1.1
|
||||
golang.org/x/net v0.0.0-20180926154720-4dfa2610cdf3
|
||||
)
|
||||
|
||||
go 1.13
|
||||
|
|
6
go.sum
6
go.sum
|
@ -1,9 +1,3 @@
|
|||
github.com/fluffle/golog v1.0.2 h1:Ktg5k4A+KqWLKS8OlkSU46bZ6QjdDErYjMEd7Rn2uWY=
|
||||
github.com/fluffle/golog v1.0.2/go.mod h1:TKZoUh/MNb9worAhWP158Ol0TXc5EfhMJK/qB/7j+Ko=
|
||||
github.com/fluffle/golog/logging v0.0.0-20180928190033-7d99e85061cb h1:r//eMD/5sdzxVy34UP5fFvRWIL2L8QZtaDgVCKfVQLI=
|
||||
github.com/fluffle/golog/logging v0.0.0-20180928190033-7d99e85061cb/go.mod h1:w8+az2+kPHMcsaKnTnGapWTNToJK8BogkHiAncvqKsM=
|
||||
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=
|
||||
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
|
||||
github.com/golang/mock v1.1.1 h1:G5FRp8JnTd7RQH5kemVNlMeyXQAztQ3mOWV95KxsXH8=
|
||||
github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
|
||||
golang.org/x/net v0.0.0-20180926154720-4dfa2610cdf3 h1:dgd4x4kJt7G4k4m93AYLzM8Ni6h2qLTfh9n9vXJT3/0=
|
||||
|
|
Loading…
Reference in New Issue