examples

package
v2.6.0-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 8 Imported by: 3 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package examples contains utilities for parsing examples.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Examples

type Examples struct {
	// contains filtered or unexported fields
}

Examples is the set of metadata and objects in a package.

func NewExamples

func NewExamples() *Examples

NewExamples creates a new Examples object.

type Parser

type Parser struct{}

Parser is a Parser implementation for parsing examples.

func New

func New() *Parser

New creates a new Package.

func (*Parser) Parse

func (p *Parser) Parse(_ context.Context, reader io.ReadCloser) (*Examples, error)

Parse is the underlying logic for parsing examples.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL