go-lvm is a go library to call liblvm API based on python-lvm developed in LVM2.
Please refer to go-doc.
Let's create a available volume group and create and delete a LV.
sudo dd if=/dev/zero of=disk.img bs=1G count=1
export LOOP=`sudo losetup -f`
sudo losetup $LOOP disk.img
sudo vgcreate vg-targetd $LOOP
go run cmd/example.go