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

Allow set/get root or home dir #5548

Closed
4 tasks
anilcse opened this issue Jan 21, 2020 · 1 comment
Closed
4 tasks

Allow set/get root or home dir #5548

anilcse opened this issue Jan 21, 2020 · 1 comment

Comments

@anilcse
Copy link
Collaborator

anilcse commented Jan 21, 2020

Summary

Allow set/get binary home dir to access consistently everywhere in the app

Problem Definition

For any application it is important to have access to root/home paths from anywhere inside the app. Currently it is accessed via viper.Get(HomeFlag) which might not be a best way to handle this. Especially where viper is not suggested to use. One of the requirement is here: regen-network#7 (comment)

Proposal

Implement SetRootDir and GetRootDir in server/utils.go (or in configs)


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@github-actions
Copy link
Contributor

github-actions bot commented Jul 5, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant