Skip to content

Commit 3a614b6

Browse files
committed
Обновление примеров
1 parent ec9fd76 commit 3a614b6

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

uuid_example_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99

1010
// Примеры использования публичных функций
1111
func ExampleNewNull() {
12-
u := uuid.NewNull()
13-
fmt.Println(u.IsZero())
14-
fmt.Println(u.String())
12+
un := uuid.NewNull()
13+
fmt.Println(un.IsZero())
14+
fmt.Println(un.String())
1515
// Output:
1616
// true
1717
// 00000000-0000-0000-0000-000000000000
@@ -65,11 +65,11 @@ func ExampleNewV8() {
6565
// 8
6666
}
6767
func ExampleParse() {
68-
u, err := uuid.Parse(uuidV8String)
68+
u8, err := uuid.Parse(uuidV8String)
6969
if err != nil {
7070
log.Fatal(err)
7171
}
72-
fmt.Println(u.IsZero())
72+
fmt.Println(u8.IsZero())
7373
// Output:
7474
// false
7575
}

0 commit comments

Comments
 (0)