Documentation
¶
Overview ¶
Package devicon serves programming-language and tool logos from the Devicon icon set (by konpa and contributors, MIT — see DEVICON-LICENSE), as SVG documents keyed by file name.
Unlike a full file-type theme, Devicon is a set of colourful language/tool logos: Icon maps a source file's extension to the logo of the language it is written in, falling back to a neutral document glyph for anything with no language logo. Folder returns a neutral folder glyph. The document and folder glyphs are minimal originals (Devicon ships no generic file or folder icon).
It is a data package: a curated subset of the logos is embedded, and the API returns SVG strings. A renderer such as go-widgets/toolkit's SVGIcon turns the returned SVG into a drawn glyph; this package draws nothing itself.
Index ¶
Constants ¶
const Name = "Devicon"
Name is the human label a picker shows for this pack.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.