Cannot set tlsConfig in external configFunc
mvdan opened this issue · comments
I just tried using a modified version of this:
configFunc := func(b *Bot) {
b.Server = server
b.OriginalName = name
b.User = name
b.tlsConfig = tlsConfig
}
It fails to compile because tlsConfig
is not exported. Any reason why that is so?
Fixed by #9