antichris / go-pirev

Parse and extract hardware information from a Raspberry Pi revision code as structured data or raw bit values.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-pirev

godoc-badge release-badge license-badge goreport-badge

Raspberry Pi revision code parser in Go

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.

Installation

Library

In the directory of your module run:

go get github.com/antichris/go-pirev@latest

CLI tool

go install github.com/antichris/go-pirev/cmd/pirev@latest

License

The source code of this project is released under Mozilla Public License Version 2.0. See LICENSE.

About

Parse and extract hardware information from a Raspberry Pi revision code as structured data or raw bit values.

License:Mozilla Public License 2.0


Languages

Language:Go 100.0%