{"id":23246492,"url":"https://github.com/openware/ika","last_synced_at":"2025-04-06T00:22:13.459Z","repository":{"id":196482863,"uuid":"696198560","full_name":"openware/ika","owner":"openware","description":"Tiny configuration management for go","archived":false,"fork":false,"pushed_at":"2023-09-25T10:11:12.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T22:07:03.810Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-25T09:34:33.000Z","updated_at":"2025-02-17T02:56:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"df7fec17-0b99-473d-9409-4674c4655ad4","html_url":"https://github.com/openware/ika","commit_stats":null,"previous_names":["openware/ika"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openware%2Fika","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openware%2Fika/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openware%2Fika/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openware%2Fika/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openware","download_url":"https://codeload.github.com/openware/ika/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247417584,"owners_count":20935672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-19T07:15:18.188Z","updated_at":"2025-04-06T00:22:13.439Z","avatar_url":"https://github.com/openware.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ika: light config for go apps\n\n## Introduction\n\nOpenware config for golang supporting json, yaml and ENV configs 12factor compliant\n\n## Usage\n\n`go get github.com/openware/pkg/ika`\n\n### Example config and usage\n\n```go\ntype YourAppConfig struct {\n\tNumber    int64  `yaml:\"number\" env:\"TEST_NUMBER\" env-default:\"1\"`\n\tString    string `yaml:\"string\" env:\"TEST_STRING\" env-default:\"default\"`\n\tNoDefault string `yaml:\"no-default\" env:\"TEST_NO_DEFAULT\"`\n\tNoEnv     string `yaml:\"no-env\" env-default:\"default\"`\n\tRequired  string `yaml:\"required\" env-required:\"true\"`\n}\n\nfunc LoadYourAppConfig(cfgFilePath string) (*YourAppConfig, error) {\n\tcfg := \u0026YourAppConfig{}\n\tif err := ika.ReadConfig(cfgFilePath, cfg); err != nil {\n\t\treturn nil, err\n\t}\n\treturn cfg, nil\n}\n\n```\n\n### Credits\n\nForked from: https://github.com/ilyakaznacheev/cleanenv\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenware%2Fika","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenware%2Fika","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenware%2Fika/lists"}