diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-12-31 22:51:55 -0700 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-12-31 22:51:55 -0700 |
commit | 3d9f8eac08e172d99eafb396f161263fd444c073 (patch) | |
tree | 747de0d1ee29c819a61ec4d2a2dfc723f6732a7b /modules.go | |
parent | 06ea0a52950ef6d1dd327c10e247ada1b71a5c5d (diff) |
Couple of minor fixes, update readme
Diffstat (limited to 'modules.go')
-rw-r--r-- | modules.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -96,7 +96,7 @@ type ModuleID string func (id ModuleID) Namespace() string { lastDot := strings.LastIndex(string(id), ".") if lastDot < 0 { - return string(id) + return "" } return string(id)[:lastDot] } |