sample: use UserInfo constructor
This commit is contained in:
parent
5564eccf22
commit
bd0425d6d4
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user