Implement FileWatcher

This commit is contained in:
Ben Johnson
2022-02-06 09:27:26 -07:00
parent 8009bcf654
commit 762c7ae531
15 changed files with 1132 additions and 53 deletions

View File

@@ -239,7 +239,7 @@ func TruncateDuration(d time.Duration) time.Duration {
return d
}
// MD5hash returns a hex-encoded MD5 hash of b.
func MD5hash(b []byte) string {
// MD5Hash returns a hex-encoded MD5 hash of b.
func MD5Hash(b []byte) string {
return fmt.Sprintf("%x", md5.Sum(b))
}