How to set a Static IP using Golang Client


I am using Golang client to orchestrate LXD containers but did not find a way how to set a static IP. I would like to do something like this:
lxc config device set CONTAINER eth0 ipv4.address X.X.X.X

By using any existing Struct or Method in lxd package - -

GetInstance + UpdateInstance and alter the Devices map in between

Thank you, that did the trick.