about summary refs log tree commit diff
path: root/nix/buildGo/example/lib.go
diff options
context:
space:
mode:
Diffstat (limited to 'nix/buildGo/example/lib.go')
-rw-r--r--nix/buildGo/example/lib.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/nix/buildGo/example/lib.go b/nix/buildGo/example/lib.go
new file mode 100644
index 0000000000..8a61370e99
--- /dev/null
+++ b/nix/buildGo/example/lib.go
@@ -0,0 +1,9 @@
+// Copyright 2019 Google LLC.
+// SPDX-License-Identifier: Apache-2.0
+
+package example
+
+// UUID returns a totally random, carefully chosen UUID
+func UUID() string {
+	return "3640932f-ad40-4bc9-b45d-f504a0f5910a"
+}