From 945bc61a2675c3b0409861494090614a64356287 Mon Sep 17 00:00:00 2001 From: Ella Pietraroia Date: Thu, 12 Mar 2020 15:36:28 +1030 Subject: [PATCH] comtainer: mts: package level comments --- container/mts/meta/meta_test.go | 2 ++ container/mts/pes/pes.go | 1 + container/mts/pes/pes_test.go | 3 ++- container/mts/psi/crc.go | 1 + container/mts/psi/descriptor_test.go | 1 + container/mts/psi/helpers.go | 2 ++ container/mts/psi/psi.go | 1 + container/mts/psi/psi_test.go | 2 ++ container/mts/psi/std.go | 2 ++ 9 files changed, 14 insertions(+), 1 deletion(-) diff --git a/container/mts/meta/meta_test.go b/container/mts/meta/meta_test.go index 2d65bc8c..a8de01a2 100644 --- a/container/mts/meta/meta_test.go +++ b/container/mts/meta/meta_test.go @@ -22,6 +22,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/pes/pes.go b/container/mts/pes/pes.go index 3de57e11..2be40f41 100644 --- a/container/mts/pes/pes.go +++ b/container/mts/pes/pes.go @@ -1,6 +1,7 @@ /* NAME pes.go - + DESCRIPTION See Readme.md diff --git a/container/mts/pes/pes_test.go b/container/mts/pes/pes_test.go index d54d0f4a..fe8d85ad 100644 --- a/container/mts/pes/pes_test.go +++ b/container/mts/pes/pes_test.go @@ -1,6 +1,6 @@ /* NAME - mpegts_test.go + pes_test.go DESCRIPTION See Readme.md @@ -26,6 +26,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 ( diff --git a/container/mts/psi/crc.go b/container/mts/psi/crc.go index e0ac7deb..95ffb19d 100644 --- a/container/mts/psi/crc.go +++ b/container/mts/psi/crc.go @@ -25,6 +25,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 ( diff --git a/container/mts/psi/descriptor_test.go b/container/mts/psi/descriptor_test.go index 94441277..3cfe627b 100644 --- a/container/mts/psi/descriptor_test.go +++ b/container/mts/psi/descriptor_test.go @@ -25,6 +25,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 ( diff --git a/container/mts/psi/helpers.go b/container/mts/psi/helpers.go index 621460f5..004caace 100644 --- a/container/mts/psi/helpers.go +++ b/container/mts/psi/helpers.go @@ -1,6 +1,7 @@ /* NAME helpers.go + DESCRIPTION helpers.go provides functionality for editing and reading bytes slices directly in order to insert/read timestamp and location data in psi. @@ -25,6 +26,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 ( diff --git a/container/mts/psi/psi.go b/container/mts/psi/psi.go index 8af447f1..885c07d8 100644 --- a/container/mts/psi/psi.go +++ b/container/mts/psi/psi.go @@ -1,6 +1,7 @@ /* NAME psi.go + DESCRIPTION See Readme.md diff --git a/container/mts/psi/psi_test.go b/container/mts/psi/psi_test.go index 7e3a3104..42fc61f7 100644 --- a/container/mts/psi/psi_test.go +++ b/container/mts/psi/psi_test.go @@ -1,6 +1,7 @@ /* NAME psi_test.go + DESCRIPTION See Readme.md @@ -24,6 +25,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 ( diff --git a/container/mts/psi/std.go b/container/mts/psi/std.go index 1ebe5ea3..1cdc3139 100644 --- a/container/mts/psi/std.go +++ b/container/mts/psi/std.go @@ -1,6 +1,7 @@ /* NAME std.go + DESCRIPTION See Readme.md @@ -24,6 +25,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 const (