aboutsummaryrefslogtreecommitdiffstats
path: root/formats
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-09-01 01:31:58 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2016-09-01 01:31:58 +0200
commitad9456267524e08efcf4486cadfb6cef8d182677 (patch)
tree75ef4e32832eb1442b788ba85ca5df0d16dd8f3f /formats
parent2ca4ab90ec5d4c430ac891a4edd5014d7043d539 (diff)
downloadgo-git-ad9456267524e08efcf4486cadfb6cef8d182677.tar.gz
doc packages
Diffstat (limited to 'formats')
-rw-r--r--formats/idxfile/doc.go4
-rw-r--r--formats/packfile/doc.go6
-rw-r--r--formats/pktline/doc.go1
3 files changed, 7 insertions, 4 deletions
diff --git a/formats/idxfile/doc.go b/formats/idxfile/doc.go
index 74149ab..8a76853 100644
--- a/formats/idxfile/doc.go
+++ b/formats/idxfile/doc.go
@@ -1,3 +1,6 @@
+// Package idxfile implements a encoder/decoder of idx files
+package idxfile
+
/*
== Original (version 1) pack-*.idx files have the following format:
@@ -127,4 +130,3 @@ Pack file entry: <+
From:
https://www.kernel.org/pub/software/scm/git/docs/v1.7.5/technical/pack-protocol.txt
*/
-package idxfile
diff --git a/formats/packfile/doc.go b/formats/packfile/doc.go
index c79c180..0b173ca 100644
--- a/formats/packfile/doc.go
+++ b/formats/packfile/doc.go
@@ -1,6 +1,7 @@
-// Package packfile documentation:
-/*
+// Package packfile implements a encoder/decoder of packfile format
+package packfile
+/*
GIT pack format
===============
@@ -165,4 +166,3 @@ Pack file entry: <+
From:
https://www.kernel.org/pub/software/scm/git/docs/v1.7.5/technical/pack-protocol.txt
*/
-package packfile
diff --git a/formats/pktline/doc.go b/formats/pktline/doc.go
index 555a073..1e14ec0 100644
--- a/formats/pktline/doc.go
+++ b/formats/pktline/doc.go
@@ -1,3 +1,4 @@
+// Package pktline implements a encoder/decoder of pkt-line format
package pktline
// pkt-line Format