diff options
author | Success Go <gaodacheng@protonmail.ch> | 2020-02-26 00:11:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-25 09:11:29 -0700 |
commit | 45b171ff3a9e0144703ae0319fe39ebd431d6de3 (patch) | |
tree | fcba34224ac1d67333f0c66d8058aa00df8644ef | |
parent | 623a1c588ee75c6d19911fd0892d9c279e3ba87c (diff) |
Make comment more readable about caddy ModuleID's Name() method. (#3080)
-rw-r--r-- | modules.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 "" |