Go library for Open Iconic icons
Go to file
jolheiser 9679b60b30
Add title to SVGs
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2019-12-08 15:10:25 -06:00
.gitignore Initial commit 2019-12-04 20:08:51 -06:00
generate.go Initial commit 2019-12-04 20:08:51 -06:00
go.mod Initial commit 2019-12-04 20:08:51 -06:00
go.sum Initial commit 2019-12-04 20:08:51 -06:00
iconic_generate.go Add title to SVGs 2019-12-08 15:10:25 -06:00
iconic.go Add title to SVGs 2019-12-08 15:10:25 -06:00
LICENSE Initial commit 2019-12-04 20:08:51 -06:00
README.md Initial commit 2019-12-04 20:08:51 -06:00

iconic

https://useiconic.com/open

Installation

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

Usage

icon := iconic.AccountLogin()

// 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 iconic, simply change iconicVersion in iconic_generate.go and re-build.

License

MIT License