1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
package main import ( "github.com/dmacvicar/terraform-provider-libvirt/libvirt" "github.com/hashicorp/terraform/plugin" "math/rand" "time" ) func main() { plugin.Serve(&plugin.ServeOpts{ ProviderFunc: libvirt.Provider, }) } func init() { rand.Seed(time.Now().UTC().UnixNano()) }