Go library for Ionicons
Go to file
John Olheiser 879ffe62fc
Add title to SVGs
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2019-12-08 15:11:19 -06:00
.gitignore Initial commit 2019-12-04 14:59:13 -06:00
generate.go Initial commit 2019-12-04 14:59:13 -06:00
go.mod Update go.mod 2019-12-04 20:06:16 -06:00
go.sum Update go.mod 2019-12-04 20:06:16 -06:00
ionicon_generate.go Add title to SVGs 2019-12-08 15:11:19 -06:00
ionicon.go Add title to SVGs 2019-12-08 15:11:19 -06:00
LICENSE Initial commit 2019-12-04 14:59:13 -06:00
README.md Update instructions 2019-12-05 02:00:38 +00:00

ionicon

https://ionicons.com/

Installation

go get -u gitea.com/go-icon/ionicon

Usage

icon := ionicon.IosAdd()

// Get the raw XML
xml := icon.XML()

// Get something suitable to pass directly to an html/template
html := icon.HTML()

Build

go generate generate.go

New Versions

To update the version of ionicon, simply change ioniconVersion in ionicon_generate.go and re-build.

License

MIT License