Browse Source

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

master
Success Go 5 years ago
committed by GitHub
parent
commit
45b171ff3a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules.go

2
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 ""

Loading…
Cancel
Save