generator

package
v0.0.0-...-81aed03 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cli.Command

Types

type Generator

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

func NewGenerator

func NewGenerator() *Generator

func (*Generator) GenerateGo

func (inst *Generator) GenerateGo(staticGlyphFile io.StringWriter, staticPackage string, dynamicGlyphFile io.StringWriter, dynamicPackage string)

func (*Generator) Load

func (inst *Generator) Load(jsonDoc []byte) (err error)

type NerdFontGlyph

type NerdFontGlyph struct {
	Char string `json:"char"`
	Code string `json:"code"`
}

type NerdFontGlyphLibrary

type NerdFontGlyphLibrary map[string]*NerdFontGlyph

type NerdFontJsonMetaData

type NerdFontJsonMetaData struct {
	Metadata struct {
		Website            string `json:"website"`
		DevelopmentWebsite string `json:"development-website"`
		Version            string `json:"version"`
		Date               string `json:"date"`
	} `json:"METADATA"`
}

Jump to

Keyboard shortcuts

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