Skip to content

Commit

Permalink
README: update godoc URL
Browse files Browse the repository at this point in the history
  • Loading branch information
emalm committed Sep 18, 2016
1 parent 24c06ce commit b12c152
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ bytefmt

**Note**: This repository should be imported as `code.cloudfoundry.org/bytefmt`.

Human readable byte formatter
Human-readable byte formatter.

Example:

```go
bytefmt.ByteSize(100.5*bytefmt.MEGABYTE) // returns "100.5M"
bytefmt.ByteSize(uint64(1024)) // returns "1K"
bytefmt.ByteSize(100.5*bytefmt.MEGABYTE) // returns "100.5M"
bytefmt.ByteSize(uint64(1024)) // returns "1K"
```

For documentation, please see http://godoc.org/github.com/pivotal-golang/bytefmt
For documentation, please see http://godoc.org/code.cloudfoundry.org/bytefmt

0 comments on commit b12c152

Please sign in to comment.