From 48a3aea7f4330933312591614a5b09194dfa93a6 Mon Sep 17 00:00:00 2001 From: Scott Date: Wed, 26 Feb 2020 13:59:36 +1030 Subject: [PATCH] container: add package comments to flv, pes, meta and psi packages --- container/flv/encoder.go | 1 + container/flv/flv.go | 1 + container/mts/meta/meta.go | 5 ++++- container/mts/meta/meta_test.go | 3 --- container/mts/pes/pes.go | 1 + container/mts/psi/psi.go | 1 + 6 files changed, 8 insertions(+), 4 deletions(-) diff --git a/container/flv/encoder.go b/container/flv/encoder.go index 6014a15f..7355af43 100644 --- a/container/flv/encoder.go +++ b/container/flv/encoder.go @@ -25,6 +25,7 @@ LICENSE You should have received a copy of the GNU General Public License along with revid in gpl.txt. If not, see http://www.gnu.org/licenses. */ + package flv import ( diff --git a/container/flv/flv.go b/container/flv/flv.go index 8ae7e050..36e44a21 100644 --- a/container/flv/flv.go +++ b/container/flv/flv.go @@ -29,6 +29,7 @@ LICENSE // See https://wwwimages2.adobe.com/content/dam/acom/en/devnet/flv/video_file_format_spec_v10.pdf // for format specification. +// Package flv provides FLV encoding and related functions. package flv import "encoding/binary" diff --git a/container/mts/meta/meta.go b/container/mts/meta/meta.go index 4b2f8c9f..9fca245d 100644 --- a/container/mts/meta/meta.go +++ b/container/mts/meta/meta.go @@ -3,7 +3,8 @@ NAME meta.go DESCRIPTION - See Readme.md + Package meta provides functions for adding to, modifying and reading + metadata, as well as encoding and decoding functions. AUTHOR Saxon Nelson-Milton @@ -25,6 +26,8 @@ LICENSE along with revid in gpl.txt. If not, see http://www.gnu.org/licenses. */ +// Package meta provides functions for adding to, modifying and reading +// metadata, as well as encoding and decoding functions. package meta import ( diff --git a/container/mts/meta/meta_test.go b/container/mts/meta/meta_test.go index 9316ce55..2b40284d 100644 --- a/container/mts/meta/meta_test.go +++ b/container/mts/meta/meta_test.go @@ -2,9 +2,6 @@ NAME meta_test.go -DESCRIPTION - See Readme.md - AUTHOR Saxon Nelson-Milton diff --git a/container/mts/pes/pes.go b/container/mts/pes/pes.go index 5b5cb612..3de57e11 100644 --- a/container/mts/pes/pes.go +++ b/container/mts/pes/pes.go @@ -24,6 +24,7 @@ LICENSE along with revid in gpl.txt. If not, see http://www.gnu.org/licenses. */ +// Package pes provides encoding of PES packets. package pes import "github.com/Comcast/gots" diff --git a/container/mts/psi/psi.go b/container/mts/psi/psi.go index 3703faf4..8af447f1 100644 --- a/container/mts/psi/psi.go +++ b/container/mts/psi/psi.go @@ -24,6 +24,7 @@ LICENSE along with revid in gpl.txt. If not, see http://www.gnu.org/licenses. */ +// Package psi provides encoding of PSI packets. package psi import (