Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tsawler committed Mar 13, 2024
1 parent 835fce9 commit 34f3496
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,9 @@ func main() {
// You can also check for expiry. Here, the signed url expires after 30 minutes.
expired := sign.Expired(signed, 30)
fmt.Println("Expired:", expired)

// You can also check for expiry in seconds. Here, the signed url expires after 30 seconds.
expired = sign.ExpiredSeconds(signed, 30)
fmt.Println("Expired:", expired)
}
```

0 comments on commit 34f3496

Please sign in to comment.