stub namespaces now that i realize file trees arent namespaces

This commit is contained in:
bel
2021-08-05 21:51:50 -06:00
parent 9cda5ad071
commit f647664b54
6 changed files with 63 additions and 15 deletions

View File

@@ -7,6 +7,10 @@ import (
var DefaultNamespace = "namespace"
func UnNamespace(ns string) []string {
return strings.Split(ns, ".")
}
func Namespace(ns []string) string {
namespace := DefaultNamespace
if len(ns) > 0 {