From 478db11ecc350a2823f8f8def6c52eb428d41557 Mon Sep 17 00:00:00 2001 From: Saxon Date: Mon, 6 May 2019 15:47:51 +0930 Subject: [PATCH] codec: file descriptions under file header so that they are put in godoc --- codec/h264/lex.go | 2 ++ codec/h264/lex_test.go | 2 ++ codec/mjpeg/lex.go | 2 ++ codec/mjpeg/lex_test.go | 2 ++ 4 files changed, 8 insertions(+) diff --git a/codec/h264/lex.go b/codec/h264/lex.go index 9600b104..3865eaa5 100644 --- a/codec/h264/lex.go +++ b/codec/h264/lex.go @@ -25,6 +25,8 @@ LICENSE along with revid in gpl.txt. If not, see http://www.gnu.org/licenses. */ +// lex.go provides a lexer to lex h264 bytestream into access units. + package h264 import ( diff --git a/codec/h264/lex_test.go b/codec/h264/lex_test.go index 13efec14..d584ce18 100644 --- a/codec/h264/lex_test.go +++ b/codec/h264/lex_test.go @@ -25,6 +25,8 @@ LICENSE along with revid in gpl.txt. If not, see http://www.gnu.org/licenses. */ +// lex_test.go provides tests for the lexer in lex.go. + package h264 import ( diff --git a/codec/mjpeg/lex.go b/codec/mjpeg/lex.go index 06e95a05..09ee2513 100644 --- a/codec/mjpeg/lex.go +++ b/codec/mjpeg/lex.go @@ -25,6 +25,8 @@ LICENSE along with revid in gpl.txt. If not, see http://www.gnu.org/licenses. */ +// lex.go provides a lexer to extract separate JPEG images from a MJPEG stream. + package mjpeg import ( diff --git a/codec/mjpeg/lex_test.go b/codec/mjpeg/lex_test.go index e92633f3..59b4bd25 100644 --- a/codec/mjpeg/lex_test.go +++ b/codec/mjpeg/lex_test.go @@ -25,6 +25,8 @@ LICENSE along with revid in gpl.txt. If not, see http://www.gnu.org/licenses. */ +// lex_test.go provides testing for the lexer in lex.go. + package mjpeg import (