summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuccess Go <gaodacheng@protonmail.ch>2020-02-26 00:11:29 +0800
committerGitHub <noreply@github.com>2020-02-25 09:11:29 -0700
commit45b171ff3a9e0144703ae0319fe39ebd431d6de3 (patch)
treefcba34224ac1d67333f0c66d8058aa00df8644ef
parent623a1c588ee75c6d19911fd0892d9c279e3ba87c (diff)
Make comment more readable about caddy ModuleID's Name() method. (#3080)
-rw-r--r--modules.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.go b/modules.go
index b9e5b4e..30aa8b1 100644
--- a/modules.go
+++ b/modules.go
@@ -101,7 +101,7 @@ func (id ModuleID) Namespace() string {
return string(id)[:lastDot]
}
-// Name returns the Name (last element) of a module name.
+// Name returns the Name (last element) of a module ID.
func (id ModuleID) Name() string {
if id == "" {
return ""