aboutsummaryrefslogtreecommitdiffstats
path: root/_examples/sha256/main.go
diff options
context:
space:
mode:
authorZhizhen He <hezhizhen.yi@gmail.com>2023-09-08 09:30:43 +0800
committerZhizhen He <hezhizhen.yi@gmail.com>2023-09-08 09:30:43 +0800
commit32975ee2c72d60121c37aa969d70b3b9953cd76a (patch)
tree6bda6979ebd8e0ea3e0bca518a8b8ab852b100b3 /_examples/sha256/main.go
parent51e9c9f1d9261568573a8b4bd50e8694e14839f7 (diff)
downloadgo-git-32975ee2c72d60121c37aa969d70b3b9953cd76a.tar.gz
*: fix some typos
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
Diffstat (limited to '_examples/sha256/main.go')
-rw-r--r--_examples/sha256/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/_examples/sha256/main.go b/_examples/sha256/main.go
index e1772d2..0392772 100644
--- a/_examples/sha256/main.go
+++ b/_examples/sha256/main.go
@@ -15,7 +15,7 @@ import (
// This example requires building with the sha256 tag for it to work:
// go run -tags sha256 main.go /tmp/repository
-// Basic example of how to initialise a repository using sha256 as the hashing algorithmn.
+// Basic example of how to initialise a repository using sha256 as the hashing algorithm.
func main() {
CheckArgs("<directory>")
directory := os.Args[1]