Re: [go-nuts] How to perform dynamic unmarsahlling

2019-09-12 Thread Dimas Prawira
Hi Abraham, To perform dynamic unmarshal, you can use reflect package in Go. May this reference give help : https://zenidas.wordpress.com/recipes/dynamic-unmarshalling-in-golang/ Thank you On Thu, Sep 12, 2019, 3:33 PM wrote: > Can anyone help me perform dynamic unmarshalling depending on th

Re: [go-nuts] How to perform dynamic unmarsahlling

2019-09-12 Thread burak serdar
On Thu, Sep 12, 2019 at 2:33 AM wrote: > > Can anyone help me perform dynamic unmarshalling depending on the type of > messages received from a diameter client. In the code below, I have to two > structures which represent two different messages received by a diameter > server. I would like to

[go-nuts] How to perform dynamic unmarsahlling

2019-09-12 Thread afriyie . abraham
Can anyone help me perform dynamic unmarshalling depending on the type of messages received from a diameter client. In the code below, I have to two structures which represent two different messages received by a diameter server. I would like to modify the current code which unmarshals the requ