A Go library for parsing and extracting hardware information from a Raspberry Pi revision code as structured data or raw bit values.
Also includes a basic CLI tool that uses this library to display the details of a Raspberry Pi revision code.
In the directory of your module run:
go get github.com/antichris/go-pirev@latest
go install github.com/antichris/go-pirev/cmd/pirev@latest
The source code of this project is released under Mozilla Public License Version 2.0. See LICENSE.