mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-14 06:46:27 +03:00
Make comment more readable about caddy ModuleID's Name() method. (#3080)
This commit is contained in:
parent
623a1c588e
commit
45b171ff3a
1 changed files with 1 additions and 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 ""
|
||||
|
|
Loading…
Reference in a new issue