cdelorme / gonf Goto Github PK
View Code? Open in Web Editor NEWAn idiomatic go utility for standardizing and consolidating application configuration.
License: zlib License
An idiomatic go utility for standardizing and consolidating application configuration.
License: zlib License
This is certainly on the agenda. My current tests hit all manner of private functions.
The problem is not that the package has complex code, but that it supports a number of very complex implementations.
To write tests representing all of these implementations against the externally exposed Load()
operation is challenging and will take some time.
Here is an incomplete summary of what needs to be validated:
The current solution only supports file name overrides, and defaults to application-relative or user-space paths by operating system.
It should be fairly trivial to adjust the processing logic to check for a /
prefix and avoid mixing with the package global paths.
I may wait until someone bumps this ticket before making the change, since I have not yet encountered a scenario where I wrote a service application that could not leverage userspace or relative paths, which is a very traditional linux/unix requirement.
Currently the onus is on the developer using this package to spot duplicate key names, environment variables, or command line options.
Given the simplicity of implementation, it would feel silly to make this the responsibility of the package.
Additionally, for this to make sense, the package would need to return errors instead of silently ignoring developer mistakes.
I do not plan to "fix" this currently, but if someone bumps this ticket to open a discussion I would be happy to listen and negotiate.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.