generate

package
v1.21.10 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(obj *Object) (buffer string)

Generate file from configurations

func ListFrameworks

func ListFrameworks() (list []string)

ListFrameworks on folder frameworks

func ListLangs

func ListLangs() (list []string)

ListLangs on folder langs

func ListThemes

func ListThemes() (list []string)

ListThemes on folder themes

Types

type Config

type Config struct {
	BaseDir     string
	Rc          string
	LocalRc     string
	LocalBundle string
}

Config ...

type Object

type Object struct {
	Language        []string
	Frameworks      []string
	Theme           string
	BufferLang      map[string]string
	BufferFramework map[string]string
	BufferTheme     Theme
	BufferBundle    map[string]string
	Editor          string
	Config          *Config
	Version         string
}

Object ...

type Theme

type Theme struct {
	Bundle     string
	Coloscheme string
}

Theme ...

Jump to

Keyboard shortcuts

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