nu7hatch/gouuid

Bug in doc - byte array missing

wlbr opened this issue · 0 comments

wlbr commented

small bug in the docs.

       // generating v5 (or v3...)
    u5, _ := uuid.NewV5(uuid.NamespaceURL, "nu7hat.ch")

needs to be

        // generating v5 (or v3...)
    u5, _ := uuid.NewV5(uuid.NamespaceURL,  []byte("nu7hat.ch"))