Proyek
Lihat di GitHub Config
olebedev/config
Tentang
Wrapper untuk konfigurasi JSON atau YAML dengan metode akses yang praktis.
Alat pengembanganPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliConfig

Package config provides convenient access methods to configuration stored as JSON or YAML.
This is a fork of the original version. This version extends the functionality of the original without losing compatibility. Major features added:
Set(path string, value interface{}) errormethodEnv() *config.Configmethod, for OS environment variables parsingFlag() *config.Configmethod, for command line arguments parsing usign pkg/flag singletonArgs(args ...string) *config.Configmethod, for command line arguments parsingU*methodsCopy(...path) (*config.config, error)methodExtend(*config.Config) (*config.Config, error)methodError() errormethod to show last parsing error, works only with.Args()method
Example and more information you can find here.
Jelajahi proyek terkait
Memuat…