Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All configuration related code has been moved to a separate package #271

Closed
wants to merge 2 commits into from

Conversation

Eitol
Copy link

@Eitol Eitol commented Nov 7, 2021

closes #270

…o that it can be imported into external projects
@Eitol Eitol requested a review from a team November 7, 2021 00:28
@hashicorp-cla
Copy link

hashicorp-cla commented Nov 7, 2021

CLA assistant check
All committers have signed the CLA.

@Eitol
Copy link
Author

Eitol commented Nov 15, 2021

@hashicorp/api-tooling-core

@eikenb
Copy link
Contributor

eikenb commented Nov 16, 2021

Hey @Eitol, sorry for the delay responding. Meant to review this today (I reserve Mondays to look at community messages) but didn't make it. I'll take a look tomorrow.

@@ -4,6 +4,7 @@ import (
"bytes"
"encoding/json"
"fmt"
config2 "github.com/hashicorp/envconsul/config"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you please consider aligning the naming of the imports so the module has the same name everywhere. You used cfg above which is fine and wouldn't conflict with the consul-template/config package. Please don't use config2 (to close to existing config for my tastes).

@@ -2,6 +2,7 @@ package main

import (
"fmt"
config2 "github.com/hashicorp/envconsul/config"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above. Please use the same name everywhere.

@Eitol Eitol closed this May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cannot import source codes from external projects
3 participants