mirror of
https://github.com/caddyserver/caddy.git
synced 2026-06-07 14:35:23 -04:00
Make comment more readable about caddy ModuleID's Name() method. (#3080)
This commit is contained in:
+1
-1
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user