Skip to content

Commit

Permalink
README: println -> fmt.Println
Browse files Browse the repository at this point in the history
Fixes #104
  • Loading branch information
tsenart committed Jul 4, 2023
1 parent 99f5976 commit b4f9914
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ and uses a source of entropy which is process-global,
[monotonic](https://pkg.go.dev/github.com/oklog/ulid/v2#LockedMonotonicReader).

```go
println(ulid.Make())
fmt.Println(ulid.Make())
// 01G65Z755AFWAKHE12NY0CQ9FH
```

Expand All @@ -71,7 +71,7 @@ More advanced use cases should utilize
```go
entropy := rand.New(rand.NewSource(time.Now().UnixNano()))
ms := ulid.Timestamp(time.Now())
println(ulid.New(ms, entropy))
fmt.Println(ulid.New(ms, entropy))
// 01G65Z755AFWAKHE12NY0CQ9FH
```

Expand Down

0 comments on commit b4f9914

Please sign in to comment.