meta

package
v0.0.34 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Lang = Langs{
	TypeScript: "ts",
	Go:         "go",
}
View Source
var WellKnown = wellKnown{
	Lang: "lang",
	Name: "name",
}

Functions

func Empty

func Empty() tdl.Meta

func HasKey

func HasKey(m tdl.Meta, key string) bool

func HasValue

func HasValue(m tdl.Meta, key, value string) bool

func Supports

func Supports(a tdl.Meta, b tdl.Meta) bool

Types

type Langs

type Langs struct {
	TypeScript string
	Go         string
}

type Map

type Map map[string]string

func (Map) Value

func (m Map) Value(key string) (string, bool)

Value implements tdl.Meta.

func (Map) Values

func (m Map) Values() iter.Seq2[string, string]

Values implements tdl.Meta.

Jump to

Keyboard shortcuts

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