Debian Codegraph @

test/fixedbugs/issue30907.dir/a.go

raw
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
5 package a
6
7 type UUID string
8
9 func New() UUID {
10 return Must(NewRandom())
11 }
12
13 func NewRandom() (UUID, error) {
14 return "", nil
15 }
16
17 func Must(uuid UUID, err error) UUID {
18 return uuid
19 }