svg

package
v0.0.0-...-abfb1be Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: Unlicense Imports: 4 Imported by: 0

Documentation

Overview

Example
package main

import (
	"fmt"

	"github.com/shurcooL/play/175/svg"
)

func main() {
	fmt.Println(svg.Render("plus"))

}
Output:

<svg aria-hidden="true" class="octicon octicon-plus" width="12" height="16" role="img" version="1.1" viewBox="0 0 12 16">
	<path d="M12 9H7v5H5V9H0V7h5V2h2v5h5v2z"></path>
</svg>

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Octicon

func Octicon(symbol string) *html.Node

func Render

func Render(symbol string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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