sample: use UserInfo constructor

This commit is contained in:
mappu 2016-11-29 19:25:41 +13:00
parent 5564eccf22
commit bd0425d6d4

View File

@ -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()