You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
Summary
Allow set/get binary
home dir
to access consistently everywhere in the appProblem 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 whereviper
is not suggested to use. One of the requirement is here: regen-network#7 (comment)Proposal
Implement
SetRootDir
andGetRootDir
inserver/utils.go
(or inconfigs
)For Admin Use
The text was updated successfully, but these errors were encountered: