docs: add godoc comments to all exported functions and methods

This commit is contained in:
adman
2026-07-30 00:20:55 +02:00
parent 56c97a2b3f
commit 0d6b6e1ab9
50 changed files with 186 additions and 408 deletions
+1
View File
@@ -16,6 +16,7 @@ type Reader struct {
Version int32
}
// NewReader creates a new replay Reader from an io.Reader.
func NewReader(r io.Reader) *Reader {
return &Reader{r: r}
}
+1
View File
@@ -13,6 +13,7 @@ type Writer struct {
w io.Writer
}
// NewWriter creates a new replay Writer from an io.Writer.
func NewWriter(w io.Writer) *Writer {
return &Writer{w: w}
}