How to set a Static IP using Golang Client

Hi,

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 - github.com/lxc/lxd/client - pkg.go.dev

GetInstance + UpdateInstance and alter the Devices map in between

Thank you, that did the trick.