Skip to content

Commit

Permalink
Simplify code
Browse files Browse the repository at this point in the history
  • Loading branch information
danroc committed Oct 31, 2018
1 parent 5716d3d commit 10a9072
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions htp.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ func main() {
log.Fatal(err)
}
date := resp.Header.Get("Date")
if date == "" {
log.Fatal("Date header is missing")
}
t2, err := time.Parse(time.RFC1123, date)
if err != nil {
log.Fatal(err)
Expand Down

0 comments on commit 10a9072

Please # to comment.