$ ./neonmodem connect --type hackernews
panic: interface conversion: interface {} is nil, not string
[...]
system/hackernews/hackernews.goL#106 does not work as intended. I've spent some time trying to identify the issue but unfortunately my knowledge of go interfaces is limited so I was unable to determine what the actual values of sys.config were or where those values were coming from. It behaves as though it's not reading in what is expected and is empty which causes the type assertion to fail.
To confirm this, I applied the following changes to system/hackernews/hackernews.go which confirms that sys.config["proxy"] is indeed nil.
system/hackernews/hackernews.goL#106 does not work as intended. I've spent some time trying to identify the issue but unfortunately my knowledge of go interfaces is limited so I was unable to determine what the actual values of
sys.config
were or where those values were coming from. It behaves as though it's not reading in what is expected and is empty which causes the type assertion to fail.To confirm this, I applied the following changes to
system/hackernews/hackernews.go
which confirms thatsys.config["proxy"]
is indeednil
.