diff options
| author | Colin Cross <ccross@google.com> | 2015-01-23 13:38:48 -0800 |
|---|---|---|
| committer | Colin Cross <ccross@google.com> | 2015-01-23 14:23:27 -0800 |
| commit | 3e8e74f276eafaf709e8e4c4291431a1d4ccb7e2 (patch) | |
| tree | 2599d6ac3c3810a41a87a709a004fc1fab4a7b74 /mangle.go | |
| parent | 6bb4af9e208ea9769ae52933e8d9f42a4e75938e (diff) | |
| download | platform_build_blueprint-3e8e74f276eafaf709e8e4c4291431a1d4ccb7e2.tar.gz platform_build_blueprint-3e8e74f276eafaf709e8e4c4291431a1d4ccb7e2.tar.bz2 platform_build_blueprint-3e8e74f276eafaf709e8e4c4291431a1d4ccb7e2.zip | |
Move blueprint/* up a directory
Make integrating with go tools easier by putting the blueprint package
files in the top level directory of the git project instead of in a
subdirectory called blueprint.
Change-Id: I35c144c5fe7ddf34e478d0c47c50b2f6c92c2a03
Diffstat (limited to 'mangle.go')
| -rw-r--r-- | mangle.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mangle.go b/mangle.go new file mode 100644 index 0000000..22eec37 --- /dev/null +++ b/mangle.go @@ -0,0 +1,13 @@ +package blueprint + +func packageNamespacePrefix(packageName string) string { + return "g." + packageName + "." +} + +func moduleNamespacePrefix(moduleName string) string { + return "m." + moduleName + "." +} + +func singletonNamespacePrefix(singletonName string) string { + return "s." + singletonName + "." +} |
