Coder Social home page Coder Social logo

easyconfig's Introduction

easyconfig: Easy bindings for configurable

godocs.io No modules 100% modules-free.

easyconfig provides utilities for use with configurable. It makes it easy to get started with configurable using familiar interfaces.

Import as: gopkg.in/hlandau/easyconfig.v1

Packages provided

The cflag package allows you to easily declare configuration items in a flag-like manner.

The cstruct package allows you to automatically generate configuration items from an annotated structure.

The adaptflag package adapts declared configuration items to flags and registers them with the standard flag package and the pflag package. You can also use it with any flag package you like if it implements a similar registration interface.

The easyconfig package itself provides a simple struct-based configuration interface; see the documentation in the examples.

Licence

© 2015 Hugo Landau <[email protected]>    MIT License
© 2017 Google, Inc.

Licenced under the licence with SHA256 hash fd80a26fbb3f644af1fa994134446702932968519797227e07a1368dea80f0bc, a copy of which can be found here.

easyconfig's People

Contributors

hlandau avatar jeremyrand avatar petercolberg avatar q3k avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

easyconfig's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.