Skip to content

Commit

Permalink
Tiny tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi committed Sep 22, 2019
1 parent 2e7b783 commit 4f2b1f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
@@ -1,4 +1,6 @@
# 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)
# 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)

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

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

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


```go
package motivationalexample

Expand Down
2 changes: 1 addition & 1 deletion pointer_test.go
Expand Up @@ -532,7 +532,7 @@ func TestTime(t *testing.T) {
t.Errorf("GetTime(%v)", nil)
}

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

0 comments on commit 4f2b1f4

Please sign in to comment.