]> Cypherpunks repositories - gostls13.git/commit
pkgbits: consolidate doc.go to only relevant details
authorMark Freeman <mark@golang.org>
Mon, 5 May 2025 19:48:03 +0000 (15:48 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 8 May 2025 15:09:00 +0000 (08:09 -0700)
commitbd1f9a4963eff6672e7e7b6d1b03ca0c51f28663
tree88743c4329b6ff92fb00f1f91aaba9cebef88aac
parentad7a6f81597fae99f2d94dda308bdc19ff8c1362
pkgbits: consolidate doc.go to only relevant details

The stated goal for pkgbits is to implement encoding / decoding of
primitives. However, pkgbits has knowledge of high-level details like
elements, sections, and file layout.

This change starts to clarify pkgbits by paring back documentation to
only those concepts which pkgbits owns. Further CLs are needed to shift
away logic that pkgbits should not own.

Change-Id: Id93003d080f58ffbd6327e2db1a4878500511619
Reviewed-on: https://go-review.googlesource.com/c/go/+/670176
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Mark Freeman <mark@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Mark Freeman <mark@golang.org>
src/internal/pkgbits/doc.go