{"id":41784190,"url":"https://github.com/mwat56/ini","last_synced_at":"2026-01-25T04:08:09.440Z","repository":{"id":57491073,"uuid":"184622587","full_name":"mwat56/ini","owner":"mwat56","description":"A Go INI-file reader/writer","archived":false,"fork":false,"pushed_at":"2025-03-24T17:21:26.000Z","size":253,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T18:31:23.985Z","etag":null,"topics":["configuration","golang","golang-package","ini-parser","website"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mwat56.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-05-02T17:24:56.000Z","updated_at":"2025-03-24T17:21:30.000Z","dependencies_parsed_at":"2025-03-24T18:26:16.772Z","dependency_job_id":"cb7f8a66-298b-4b2f-bb6e-72c0e0bd6c22","html_url":"https://github.com/mwat56/ini","commit_stats":null,"previous_names":["mwat56/go-ini"],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/mwat56/ini","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwat56%2Fini","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwat56%2Fini/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwat56%2Fini/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwat56%2Fini/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mwat56","download_url":"https://codeload.github.com/mwat56/ini/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwat56%2Fini/sbom","scorecard":{"id":669763,"data":{"date":"2025-08-11","repo":{"name":"github.com/mwat56/ini","commit":"e8d07730d4166fad19f5e906d27fb7a4845eb667"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T19:33:38.070Z","repository_id":57491073,"created_at":"2025-08-21T19:33:38.071Z","updated_at":"2025-08-21T19:33:38.071Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28742983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T02:46:29.005Z","status":"ssl_error","status_checked_at":"2026-01-25T02:44:29.968Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["configuration","golang","golang-package","ini-parser","website"],"created_at":"2026-01-25T04:08:08.683Z","updated_at":"2026-01-25T04:08:09.434Z","avatar_url":"https://github.com/mwat56.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# INI\n\n[![Golang](https://img.shields.io/badge/Language-Go-green.svg)](https://golang.org/)\n[![GoDoc](https://godoc.org/github.com/mwat56/ini?status.svg)](https://godoc.org/github.com/mwat56/ini/)\n[![Go Report](https://goreportcard.com/badge/github.com/mwat56/ini)](https://goreportcard.com/report/github.com/mwat56/ini)\n[![Issues](https://img.shields.io/github/issues/mwat56/ini.svg)](https://github.com/mwat56/ini/issues?q=is%3Aopen+is%3Aissue)\n[![Size](https://img.shields.io/github/repo-size/mwat56/ini.svg)](https://github.com/mwat56/ini/)\n[![Tag](https://img.shields.io/github/tag/mwat56/ini.svg)](https://github.com/mwat56/ini/tags)\n[![License](https://img.shields.io/github/license/mwat56/ini.svg)](https://github.com/mwat56/ini/blob/main/LICENSE)\n\n- [INI](#ini)\n\t- [Purpose](#purpose)\n\t- [Installation](#installation)\n\t- [Usage](#usage)\n\t- [Licence](#licence)\n\n----\n\n## Purpose\n\nOver the times several different file formats have been developed just for storing configuration data for some program.\nWhile they all may have some merits, for me the two-dimensional INI file format – made popular by the DR-/MS-/PC-DOS and MS-Windows versions in the 80s of the last century – was always sufficient for my needs.\nThis package provides the `TSectionList` class to read/parse, modify, and write such INI files. It doesn't need any configuration for itself but simply does what it's supposed to do.\n\n## Installation\n\nYou can use `Go` to install this package for you:\n\n    go get -u github.com/mwat56/ini\n\n## Usage\n\nAn INI file usually looks like this:\n\n    ; This is a comment\n\n    [aSectionName]\n        key1 = value 1\n        key2 = value2\n        # …\n\n    [anotherSection]\n        key1 = value1\n        key2 = value 2 is \\\n        really long and\\\n        spans several lines\n        # …\n\nLeading whitespace is ignored, empty lines and those beginning with either a semicolon (`;`) or a number sign (`#`) are skipped (and not preserved when overwriting the file).\nLines that can't be identified as either a _section heading_ or a _key/value pair_ are silently ignored as well.\nQuotes and whitespace surrounding a key or a value are ignored.\n\nA line ending with a backslash (`\\`) will be concatenated with the following line (unless that's a comment line).\nBy that mechanism you can use really long values spawning several lines.\n\nYou can create a new `TSectionList` instance by simply calling `ini.New(aFilename)` and then using the numerous methods (including `Store()`) of the returned instance.\n\n_Note_ that both, section and key names, are _case sensitive_ to allow for the broadest possible range when naming them.\nThe same is true for the key/value pairs which are, of course, case sensitive.\nAn application using this package, however, is free to interpret the values returned in any way they like.\n\nThe configured values can be retrieved from the INI list as any primitive data type calling the appropriate `AsXxx()` methods.\n\nPlease look at the [source code documentation](https://godoc.org/github.com/mwat56/ini#TSectionList) to see the numerous methods provided to load, get, set, and update sections and key/value pairs.\n\n## Licence\n\n    Copyright © 2019, 2025  M.Watermann, 10247 Berlin, Germany\n                    All rights reserved\n                EMail : \u003csupport@mwat.de\u003e\n\n\u003e This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.\n\u003e\n\u003e This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\u003e\n\u003e You should have received a copy of the GNU General Public License along with this program. If not, see the [GNU General Public License](http://www.gnu.org/licenses/gpl.html) for details.\n\n----\n[![GFDL](https://www.gnu.org/graphics/gfdl-logo-tiny.png)](http://www.gnu.org/copyleft/fdl.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwat56%2Fini","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmwat56%2Fini","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwat56%2Fini/lists"}