Documentation ¶
Overview ¶
Package icons implements logic of receiving icons for filetypes.
Code generated by gomplate; DO NOT EDIT. This file generated by gomplate at Sat, 21 Sep 2019 06:41:04 UTC using data from datafiles/nerd.json
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringFonts ¶
func StringFonts() []string
StringFonts returns list of string representations of supported fonts
Types ¶
type Font ¶
type Font interface { fmt.Stringer GetIcon(filename string) Icon DefaultIcon() Icon DirIcon() Icon }
Font interface represents abstract font
func GetFontByName ¶
GetFontByName returns font by it string representation
type Icon ¶
Icon represents icon struct
Click to show internal directories.
Click to hide internal directories.