CodeChain-io / codechain-sdk-go

Go Software Development Kit for CodeChain
5 stars 6 forks source link

Hold pointer value if the object is nullable #53

Open cubismic opened 4 years ago

cubismic commented 4 years ago

Some elements of objects are nullable. But current implementation has not considered this.

Since golang does not support nullable structs in default, If the object is nullable, hold pointer value instead of the exact value.

We should check all the structs that are implemented.