https://github.com/antandros/go-pkgparser
custom parser for `go-dpkg` , `go-rpm`, `go-packman` packages
https://github.com/antandros/go-pkgparser
go golang parser
Last synced: about 1 month ago
JSON representation
custom parser for `go-dpkg` , `go-rpm`, `go-packman` packages
- Host: GitHub
- URL: https://github.com/antandros/go-pkgparser
- Owner: antandros
- License: agpl-3.0
- Created: 2023-08-11T00:46:02.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-11T02:26:12.000Z (almost 3 years ago)
- Last Synced: 2025-01-18T05:46:11.173Z (over 1 year ago)
- Topics: go, golang, parser
- Language: Go
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pkgparser Go Package
## Overview
custom parser for `go-dpkg` , `go-rpm`, `go-packman` packages
## Data Structures
### Package
Contains detailed information about a Debian package. Key fields include:
- `PackageName`: Name of the package.
- `Status`, `Priority`, `Section`, and more: Various details about the package.
- `Maintainer`, `OriginalMaintainer`: Contact information of the package maintainers.
- `Extra`: A map that can hold any additional information about the package not covered by the other fields.
### PackageContact
Represents the contact information of a package. It can be either an email address or a website.
- `Name`: The name of the contact.
- `Contact`: The actual contact information - email or website.
- `Type`: Specifies if the contact is an "email" or "website".
## License
Refer to the `LICENSE` file in the repository.
## Contributing
Contributions are welcome! Please submit a pull request or open an issue on the project's repository.