Help us shape the future of Go! Take the 2026 Go Developer Survey

examples

package
v0.34.2 Latest Latest
Warning

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

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

Documentation

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