package machineid_test

import (
	"fmt"
	"log"

	"github.com/denisbrodbeck/machineid"
)

func Example() {
	id, err := machineid.ID()
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(id)
}

package machineid_test

import (
	"fmt"
	"log"

	"github.com/denisbrodbeck/machineid"
)

func Example() {
	id, err := machineid.ID()
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(id)
}

func ExampleProtected() {
	appID := "Corp.SomeApp"
	id, err := machineid.ProtectedID(appID)
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(id)
}

Add example for protected id.
Add example for protected id.

