fix doc comment typo (#110)

This commit is contained in:
Thijs Schreijer
2023-06-12 20:13:14 +08:00
committed by GitHub
parent 850800a233
commit 23382b2b76
+1 -1
View File
@@ -402,7 +402,7 @@ func MTime(filepath string) (int64, error) {
return f.ModTime().Unix(), nil
}
// MTime returns file sha value, param `shaType` should be 1, 256 or 512.
// Sha returns file sha value, param `shaType` should be 1, 256 or 512.
// Play: https://go.dev/play/p/VfEEcO2MJYf
func Sha(filepath string, shaType ...int) (string, error) {
file, err := os.Open(filepath)