{"id":13410979,"url":"https://github.com/subpop/go-ini","last_synced_at":"2025-08-25T16:17:31.097Z","repository":{"id":144203515,"uuid":"207881798","full_name":"subpop/go-ini","owner":"subpop","description":"Go package that encodes and decodes INI-files","archived":false,"fork":false,"pushed_at":"2025-04-09T15:53:56.000Z","size":121,"stargazers_count":14,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T16:51:05.019Z","etag":null,"topics":["decoder","encoder","golang","ini","marshal","unmarshal"],"latest_commit_sha":null,"homepage":"","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/subpop.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-11T18:38:20.000Z","updated_at":"2025-04-09T15:53:58.000Z","dependencies_parsed_at":"2024-01-08T14:30:49.743Z","dependency_job_id":"db537436-7042-4a30-9970-42721ea3ad3d","html_url":"https://github.com/subpop/go-ini","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subpop%2Fgo-ini","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subpop%2Fgo-ini/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subpop%2Fgo-ini/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subpop%2Fgo-ini/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subpop","download_url":"https://codeload.github.com/subpop/go-ini/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248825001,"owners_count":21167414,"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":["decoder","encoder","golang","ini","marshal","unmarshal"],"created_at":"2024-07-30T20:01:10.606Z","updated_at":"2025-04-14T05:21:58.149Z","avatar_url":"https://github.com/subpop.png","language":"Go","funding_links":[],"categories":["Configuration","配置","配置管理 `配置解析库`","Uncategorized","配置管理"],"sub_categories":["Advanced Console UIs","Standard CLI","标准CLI","标准 CLI"],"readme":"[![PkgGoDev](https://pkg.go.dev/badge/github.com/subpop/go-ini)](https://pkg.go.dev/github.com/subpop/go-ini)\n[![Go Report Card](https://goreportcard.com/badge/github.com/subpop/go-ini)](https://goreportcard.com/report/github.com/subpop/go-ini)\n\n# go-ini\n\nA Go package that encodes and decodes INI-files.\n\n# Usage\n\n```go\ndata := `[settings]\nusername=root\npassword=swordfish\nshell[unix]=/bin/sh\nshell[win32]=PowerShell.exe\n`\n\nvar config struct {\n    Settings struct {\n        Username string            `ini:\"username\"`\n        Password string            `ini:\"password\"`\n        Shell    map[string]string `ini:\"shell\"`\n    } `ini:\"settings\"`\n}\n\nif err := ini.Unmarshal(data, \u0026config); err != nil {\n    fmt.Println(err)\n}\nfmt.Println(config)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubpop%2Fgo-ini","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubpop%2Fgo-ini","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubpop%2Fgo-ini/lists"}