From 78e551a40d37092cc4ce0df44692c63d8211487e Mon Sep 17 00:00:00 2001 From: Kyle Lemons Date: Mon, 26 Mar 2012 23:58:51 -0700 Subject: [PATCH] Package documentation --- usbid/describe.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/usbid/describe.go b/usbid/describe.go index 0390312..f5a0cc3 100644 --- a/usbid/describe.go +++ b/usbid/describe.go @@ -1,3 +1,12 @@ +// Package usbid provides human-readable text output for the usb package. +// +// On load, the usbid package parses an embedded mapping of vendors/products +// and class/subclass/protocols. They can also be loaded from a URL or from +// a reader. +// +// The bread and butter of this package are the following two functions: +// Describe - Pretty-print the vendor and product of a device descriptor +// Classify - Pretty-print the class/protocol info for a device/interface package usbid import (