package
0.0.0-20230929175442-2805de957004
Repository: https://github.com/tanem/learn-go-with-tests.git
Documentation: pkg.go.dev
# Functions
CheckWebsite returns true if the URL contains a 200 status code, false otherwise.
CheckWebsites takes a WebsiteChecker and a slice of urls and returns a map of urls to the result of checking each url with the WebsiteChecker function.
# Type aliases
WebsiteChecker checks a url, returning a bool.