@marcel91200 / caddy Mirror · read-only / commits / 45b171ff
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 14, 05:15 UTC

Make comment more readable about caddy ModuleID's Name() method. (#3080)

Success Go committed Feb 26, 2020 at 00:11 UTC 45b171ff3a9e0144703ae0319fe39ebd431d6de3
1 file changed +1 -1
modules.go
+1 -1
@@ -101,7 +101,7 @@ func (id ModuleID) Namespace() string {
101 return string(id)[:lastDot]
102 }
103
104 -// Name returns the Name (last element) of a module name.
104 +// Name returns the Name (last element) of a module ID.
105 func (id ModuleID) Name() string {
106 if id == "" {
107 return ""