examples

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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 {
	// contains filtered or unexported fields
}

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(ctx 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