Versions in this module Expand all Collapse all v0 v0.4.0 Jun 12, 2022 Changes in this version + func Repackage(inFile, outFile, pkg string) + func WriteGo(w io.Writer, pkg, tags string, b []byte) (n int, err error) + func WriteGoFile(filename, pkg string, b []byte) (n int) + type Writer struct + Hash hash.Hash32 + Size int + func NewWriter() *Writer + func (w *Writer) Write(p []byte) (n int, err error) + func (w *Writer) WriteArray(x any) + func (w *Writer) WriteComment(comment string, args ...any) + func (w *Writer) WriteConst(name string, x any) + func (w *Writer) WriteGo(out io.Writer, pkg, tags string) (n int, err error) + func (w *Writer) WriteGoFile(filename, pkg string) (n int) + func (w *Writer) WriteSlice(x any) + func (w *Writer) WriteString(s string) + func (w *Writer) WriteType(x any) string + func (w *Writer) WriteVar(name string, x any)