structmeta

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotation

type Annotation struct {
	Name    AnnotationName // eg template/code
	Content string         // eg if True:
}

type AnnotationName

type AnnotationName string
const (
	AnnotationNameComment AnnotationName = "comment"
)

type AnnotationNs

type AnnotationNs string

type Meta

type Meta struct {
	Annotations []*Annotation
}

func NewMetaFromString

func NewMetaFromString(data string, opts MetaOpts) (Meta, error)

type MetaOpts added in v0.12.0

type MetaOpts struct {
	IgnoreUnknown bool
}

Jump to

Keyboard shortcuts

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