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

UseFileNameAsKeyContentAsValue function import invalid in examples/file/ main.go #78

Closed
gnodli opened this issue Jul 25, 2019 · 5 comments

Comments

@gnodli
Copy link
Contributor

gnodli commented Jul 25, 2019

FileHandler has been moved to package utils from package filesource

@gnodli
Copy link
Contributor Author

gnodli commented Jul 25, 2019

fix :
add import github.com/go-chassis/go-archaius/sources/utils
remove import github.com/go-chassis/go-archaius/sources/file-source
modify line26 to err = archaius.AddFile("f3.yaml", archaius.WithFileHandler(utils.FileHandler(utils.UseFileNameAsKeyContentAsValue)))

@tianxiaoliang
Copy link
Member

would you like to raise a pull request, thanks

@gnodli
Copy link
Contributor Author

gnodli commented Jul 26, 2019

would you like to raise a pull request, thanks

ok

@gnodli
Copy link
Contributor Author

gnodli commented Jul 30, 2019

FileHandler link in README.md also invalid because same problem

@tianxiaoliang
Copy link
Member

plz help us to correct the README, thanks

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

2 participants