diff options
author | Steve Moyer <smoyer1@selesy.com> | 2022-05-26 13:39:13 -0400 |
---|---|---|
committer | Steve Moyer <smoyer1@selesy.com> | 2022-05-26 13:39:13 -0400 |
commit | e120fdb97e3af76198eadc8a44e6feb732b4dd83 (patch) | |
tree | 428ee28c2f1e69fc79e5731e0571103f4bf73678 /entity/dag | |
parent | e29f58bf853d0cd4825cb590ba973a9d9ab7ea36 (diff) | |
download | git-bug-e120fdb97e3af76198eadc8a44e6feb732b4dd83.tar.gz |
refactor: use namespace instead of application of applicationName
Diffstat (limited to 'entity/dag')
-rw-r--r-- | entity/dag/example_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/entity/dag/example_test.go b/entity/dag/example_test.go index 7290b4d4..106e359c 100644 --- a/entity/dag/example_test.go +++ b/entity/dag/example_test.go @@ -336,15 +336,15 @@ func Read(repo repository.ClockedRepo, id entity.Id) (*ProjectConfig, error) { } func Example_entity() { - const gitBugApplicationName = "git-bug" + const gitBugNamespace = "git-bug" // Note: this example ignore errors for readability // Note: variable names get a little confusing as we are simulating both side in the same function // Let's start by defining two git repository and connecting them as remote repoRenePath, _ := os.MkdirTemp("", "") repoIsaacPath, _ := os.MkdirTemp("", "") - repoRene, _ := repository.InitGoGitRepo(repoRenePath, gitBugApplicationName) - repoIsaac, _ := repository.InitGoGitRepo(repoIsaacPath, gitBugApplicationName) + repoRene, _ := repository.InitGoGitRepo(repoRenePath, gitBugNamespace) + repoIsaac, _ := repository.InitGoGitRepo(repoIsaacPath, gitBugNamespace) _ = repoRene.AddRemote("origin", repoIsaacPath) _ = repoIsaac.AddRemote("origin", repoRenePath) |