Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 435 Bytes

NOTES.md

File metadata and controls

9 lines (8 loc) · 435 Bytes

#NOTES

Improvements

  • Change blocklist to map[url.net]bool to leverage URL parsing.
  • Office hours is set to the current day. It shold work on schedule.
  • Map wilcard subdomain to domain. *.<HOSTNAME>. to .<HOSTNAME>

##observations

  • url.Parse(entry) is quite strict on parsing. Had to not include the www in the input.
  • In general parsing and edge cases are not completely covered as they're not the goal of the exercise.