From 45b171ff3a9e0144703ae0319fe39ebd431d6de3 Mon Sep 17 00:00:00 2001 From: Success Go Date: Wed, 26 Feb 2020 00:11:29 +0800 Subject: Make comment more readable about caddy ModuleID's Name() method. (#3080) --- modules.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules.go') 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 "" -- cgit v1.2.3