From 6e1ccf6bda69fbfe97841297ac2c8d0df599db2e Mon Sep 17 00:00:00 2001 From: Scott Date: Wed, 26 Feb 2020 12:20:57 +1030 Subject: [PATCH] device: add package comments to file, raspivid, geovision and webcam packages --- device/file/file.go | 1 + device/geovision/config/config-cli/main.go | 1 + device/geovision/geovision.go | 2 ++ device/raspivid/raspivid.go | 1 + device/webcam/webcam.go | 1 + 5 files changed, 6 insertions(+) diff --git a/device/file/file.go b/device/file/file.go index d068ace6..0ec2d928 100644 --- a/device/file/file.go +++ b/device/file/file.go @@ -22,6 +22,7 @@ LICENSE in gpl.txt. If not, see http://www.gnu.org/licenses. */ +// Package file provides an implementation of AVDevice for files. package file import ( diff --git a/device/geovision/config/config-cli/main.go b/device/geovision/config/config-cli/main.go index 9956d264..72cab4d7 100644 --- a/device/geovision/config/config-cli/main.go +++ b/device/geovision/config/config-cli/main.go @@ -22,6 +22,7 @@ LICENSE in gpl.txt. If not, see http://www.gnu.org/licenses. */ +// config-cli is a command-line program for configuring the GeoVision camera. package main import ( diff --git a/device/geovision/geovision.go b/device/geovision/geovision.go index decf1e80..35b554fd 100644 --- a/device/geovision/geovision.go +++ b/device/geovision/geovision.go @@ -23,6 +23,8 @@ LICENSE in gpl.txt. If not, see http://www.gnu.org/licenses. */ +// Package geovision provides an implementation of the AVDevice interface +// for the GeoVision IP camera. package geovision import ( diff --git a/device/raspivid/raspivid.go b/device/raspivid/raspivid.go index d47fc346..d6311825 100644 --- a/device/raspivid/raspivid.go +++ b/device/raspivid/raspivid.go @@ -22,6 +22,7 @@ LICENSE in gpl.txt. If not, see http://www.gnu.org/licenses. */ +// Package raspivid provides an implementation of AVDevice for the raspberry pi camera. package raspivid import ( diff --git a/device/webcam/webcam.go b/device/webcam/webcam.go index bb41b7cf..22472702 100644 --- a/device/webcam/webcam.go +++ b/device/webcam/webcam.go @@ -22,6 +22,7 @@ LICENSE in gpl.txt. If not, see http://www.gnu.org/licenses. */ +// Package webcam provides an implementation of AVDevice for webcams. package webcam import (