Skip to content

Commit

Permalink
change r.Expires from time.Duration to time.Time (ipfs#140)
Browse files Browse the repository at this point in the history
All the code treats it as a `time.Time` and that's the only thing that makes sense here.

I know it's just an example but good, correct examples help understanding the ideas and reasoning behind a spec.
  • Loading branch information
keks authored and daviddias committed Feb 13, 2017
1 parent f14ef8d commit f532900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iprs-interplanetary-record-system/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ For example, suppose Alice and Bob want to store records on a public bulletin bo
```go
type Record struct {
Value []byte
Expires time.Duration
Expires time.Time
Signature []byte
}

Expand Down

0 comments on commit f532900

Please sign in to comment.