A better way to parse a different source? #203
-
I am using kong to parse inputs from a chat bot for chat ops purposes. Everything has been very well except for it to work for me I added one small change which doesn't feel right. In global.go I added the following function:
So instead of calling the usual |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Using New+Parse is the recommended way to do this, as you have. You can call New once, then call Parse repeatedly. Also maybe check out the examples folder, it has a server that would be a good base to look at. |
Beta Was this translation helpful? Give feedback.
Using New+Parse is the recommended way to do this, as you have. You can call New once, then call Parse repeatedly.
Also maybe check out the examples folder, it has a server that would be a good base to look at.