Skip to content

Commit 4f2b1f4

Browse files
committed
Tiny tweaks.
1 parent 2e7b783 commit 4f2b1f4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# pointer [![GoDoc](https://godoc.org/github.com/AlekSi/pointer?status.svg)](https://godoc.org/github.com/AlekSi/pointer) [![Build Status](https://travis-ci.org/AlekSi/pointer.svg)](https://travis-ci.org/AlekSi/pointer)
1+
# pointer
2+
[![GoDoc](https://godoc.org/github.com/AlekSi/pointer?status.svg)](https://godoc.org/github.com/AlekSi/pointer)
3+
[![Build Status](https://travis-ci.org/AlekSi/pointer.svg)](https://travis-ci.org/AlekSi/pointer)
24

35
Go package pointer provides helpers to get pointers to values of built-in types.
46

@@ -8,7 +10,6 @@ go get github.com/AlekSi/pointer
810

911
API is stable. [Documentation](http://godoc.org/github.com/AlekSi/pointer).
1012

11-
1213
```go
1314
package motivationalexample
1415

pointer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ func TestTime(t *testing.T) {
532532
t.Errorf("GetTime(%v)", nil)
533533
}
534534

535-
x = time.Date(2019, 9, 22, 7, 34, 0, 0, time.UTC)
535+
x = time.Date(2014, 6, 25, 12, 24, 40, 0, time.UTC)
536536
if *ToTime(x) != x {
537537
t.Errorf("*ToTime(%v)", x)
538538
}

0 commit comments

Comments
 (0)