package encodemeta
Import Path
internal/coverage/encodemeta (on go.dev)
Dependency Relation
imports 12 packages, and imported by one package
Package-Level Type Names (total 2)
AddFunc registers a new function with the meta data builder.
Emit writes the meta-data accumulated so far in this builder to 'w'.
Returns a hash of the meta-data payload and an error.
func NewCoverageMetaDataBuilder(pkgpath string, pkgname string, modulepath string) (*CoverageMetaDataBuilder, error)
(*CoverageMetaFileWriter) Write(finalHash [16]byte, blobs [][]byte, mode coverage.CounterMode, granularity coverage.CounterGranularity) error
func NewCoverageMetaFileWriter(mfname string, w io.Writer) *CoverageMetaFileWriter
Package-Level Functions (total 3)
HashFuncDesc computes an md5 sum of a coverage.FuncDesc and returns
a digest for it.
func NewCoverageMetaDataBuilder(pkgpath string, pkgname string, modulepath string) (*CoverageMetaDataBuilder, error) func NewCoverageMetaFileWriter(mfname string, w io.Writer) *CoverageMetaFileWriter
The pages are generated with Golds v0.7.0-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |