1// Copyright 2019 The Go Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style 3// license that can be found in the LICENSE file. 4 5package a 6 7type UUID string 8 9func New() UUID { 10 return Must(NewRandom()) 11} 12 13func NewRandom() (UUID, error) { 14 return "", nil 15} 16 17func Must(uuid UUID, err error) UUID { 18 return uuid 19} 20