From bd0425d6d49f2c0bf7fb3e99f89ac21b93787efb Mon Sep 17 00:00:00 2001 From: mappu Date: Tue, 29 Nov 2016 19:25:41 +1300 Subject: [PATCH] sample: use UserInfo constructor --- libnmdc_sample.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnmdc_sample.go b/libnmdc_sample.go index 45b08f9..089888c 100644 --- a/libnmdc_sample.go +++ b/libnmdc_sample.go @@ -14,7 +14,7 @@ func main() { opts := libnmdc.HubConnectionOptions{ Address: "127.0.0.1", - Self: libnmdc.UserInfo{Nick: "slowpoke9"}, + Self: libnmdc.NewUserInfo("slowpoke9"), } hub := opts.Connect()