stub namespaces now that i realize file trees arent namespaces
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user