/go-uuid

Yet another uuid interface/generator for golang-1.3/1.4

Primary LanguageGoMIT LicenseMIT

Yet Another Go UUID Generator

Because there can never be too many uuid generators or uuid types.

Usage

import "github.com/jsipprell/go-uuid"
import "fmt"

func main() {
  var id uuid.UUID

  id = uuid.New()
  fmt.Printf("first uuid is %v\n",id)

  id = uuid.New()
  fmt.Printf("second uuid is %v\n",id)

  id = uuid.New()
  fmt.Printf("third uuid is %v\n",id)
}