# Libvirt Go Language API (with Go modules)

The Go package libvirt.org/go/libvirt provides CGo binding from the OS native Libvirt API.

This package replaces the obsolete libvirt.org/libvirt-go package in order to switch to using semver and Go modules. Aside from the changed import path and versioning scheme, the API is fully compatible with the legacy package.

In general the Go representation is a direct 1-1 mapping from native API concepts to Go, so the native API documentation should serve as a reference for most behaviour.

For details of Go specific behaviour consult the Go package documentation.