octiconssvg: github.com/shurcooL/octiconssvg Index | Examples | Files

package octiconssvg

import "github.com/shurcooL/octiconssvg"

Package octiconssvg provides GitHub Octicons in SVG format.

Code:

var w io.Writer = os.Stdout // Or, e.g., http.ResponseWriter in your handler, etc.

err := html.Render(w, octiconssvg.Alert())
if err != nil {
    log.Fatalln(err)
}

Output:

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" style="fill: currentColor; vertical-align: top;"><path d="M8.865 1.52c-.18-.31-.51-.5-.87-.5s-.69.19-.87.5L.275 13.5c-.18.31-.18.69 0 1 .19.31.52.5.87.5h13.7c.36 0 .69-.19.86-.5.17-.31.18-.69.01-1L8.865 1.52zM8.995 13h-2v-2h2v2zm0-3h-2V6h2v4z"></path></svg>

Index

Examples

Package Files

doc.go octicons.go

func Alert Uses

func Alert() *html.Node

Alert returns an "alert" Octicon SVG node.

func ArrowDown Uses

func ArrowDown() *html.Node

ArrowDown returns an "arrow-down" Octicon SVG node.

func ArrowLeft Uses

func ArrowLeft() *html.Node

ArrowLeft returns an "arrow-left" Octicon SVG node.

func ArrowRight Uses

func ArrowRight() *html.Node

ArrowRight returns an "arrow-right" Octicon SVG node.

func ArrowSmallDown Uses

func ArrowSmallDown() *html.Node

ArrowSmallDown returns an "arrow-small-down" Octicon SVG node.

func ArrowSmallLeft Uses

func ArrowSmallLeft() *html.Node

ArrowSmallLeft returns an "arrow-small-left" Octicon SVG node.

func ArrowSmallRight Uses

func ArrowSmallRight() *html.Node

ArrowSmallRight returns an "arrow-small-right" Octicon SVG node.

func ArrowSmallUp Uses

func ArrowSmallUp() *html.Node

ArrowSmallUp returns an "arrow-small-up" Octicon SVG node.

func ArrowUp Uses

func ArrowUp() *html.Node

ArrowUp returns an "arrow-up" Octicon SVG node.

func Beaker Uses

func Beaker() *html.Node

Beaker returns an "beaker" Octicon SVG node.

func Bell Uses

func Bell() *html.Node

Bell returns an "bell" Octicon SVG node.

func Bold Uses

func Bold() *html.Node

Bold returns an "bold" Octicon SVG node.

func Book Uses

func Book() *html.Node

Book returns an "book" Octicon SVG node.

func Bookmark Uses

func Bookmark() *html.Node

Bookmark returns an "bookmark" Octicon SVG node.

func Briefcase Uses

func Briefcase() *html.Node

Briefcase returns an "briefcase" Octicon SVG node.

func Broadcast Uses

func Broadcast() *html.Node

Broadcast returns an "broadcast" Octicon SVG node.

func Browser Uses

func Browser() *html.Node

Browser returns an "browser" Octicon SVG node.

func Bug Uses

func Bug() *html.Node

Bug returns an "bug" Octicon SVG node.

func Calendar Uses

func Calendar() *html.Node

Calendar returns an "calendar" Octicon SVG node.

func Check Uses

func Check() *html.Node

Check returns an "check" Octicon SVG node.

func Checklist Uses

func Checklist() *html.Node

Checklist returns an "checklist" Octicon SVG node.

func ChevronDown Uses

func ChevronDown() *html.Node

ChevronDown returns an "chevron-down" Octicon SVG node.

func ChevronLeft Uses

func ChevronLeft() *html.Node

ChevronLeft returns an "chevron-left" Octicon SVG node.

func ChevronRight Uses

func ChevronRight() *html.Node

ChevronRight returns an "chevron-right" Octicon SVG node.

func ChevronUp Uses

func ChevronUp() *html.Node

ChevronUp returns an "chevron-up" Octicon SVG node.

func CircleSlash Uses

func CircleSlash() *html.Node

CircleSlash returns an "circle-slash" Octicon SVG node.

func CircuitBoard Uses

func CircuitBoard() *html.Node

CircuitBoard returns an "circuit-board" Octicon SVG node.

func Clippy Uses

func Clippy() *html.Node

Clippy returns an "clippy" Octicon SVG node.

func Clock Uses

func Clock() *html.Node

Clock returns an "clock" Octicon SVG node.

func CloudDownload Uses

func CloudDownload() *html.Node

CloudDownload returns an "cloud-download" Octicon SVG node.

func CloudUpload Uses

func CloudUpload() *html.Node

CloudUpload returns an "cloud-upload" Octicon SVG node.

func Code Uses

func Code() *html.Node

Code returns an "code" Octicon SVG node.

func Comment Uses

func Comment() *html.Node

Comment returns an "comment" Octicon SVG node.

func CommentDiscussion Uses

func CommentDiscussion() *html.Node

CommentDiscussion returns an "comment-discussion" Octicon SVG node.

func CreditCard Uses

func CreditCard() *html.Node

CreditCard returns an "credit-card" Octicon SVG node.

func Dash Uses

func Dash() *html.Node

Dash returns an "dash" Octicon SVG node.

func Dashboard Uses

func Dashboard() *html.Node

Dashboard returns an "dashboard" Octicon SVG node.

func Database Uses

func Database() *html.Node

Database returns an "database" Octicon SVG node.

func DesktopDownload Uses

func DesktopDownload() *html.Node

DesktopDownload returns an "desktop-download" Octicon SVG node.

func DeviceCamera Uses

func DeviceCamera() *html.Node

DeviceCamera returns an "device-camera" Octicon SVG node.

func DeviceCameraVideo Uses

func DeviceCameraVideo() *html.Node

DeviceCameraVideo returns an "device-camera-video" Octicon SVG node.

func DeviceDesktop Uses

func DeviceDesktop() *html.Node

DeviceDesktop returns an "device-desktop" Octicon SVG node.

func DeviceMobile Uses

func DeviceMobile() *html.Node

DeviceMobile returns an "device-mobile" Octicon SVG node.

func Diff Uses

func Diff() *html.Node

Diff returns an "diff" Octicon SVG node.

func DiffAdded Uses

func DiffAdded() *html.Node

DiffAdded returns an "diff-added" Octicon SVG node.

func DiffIgnored Uses

func DiffIgnored() *html.Node

DiffIgnored returns an "diff-ignored" Octicon SVG node.

func DiffModified Uses

func DiffModified() *html.Node

DiffModified returns an "diff-modified" Octicon SVG node.

func DiffRemoved Uses

func DiffRemoved() *html.Node

DiffRemoved returns an "diff-removed" Octicon SVG node.

func DiffRenamed Uses

func DiffRenamed() *html.Node

DiffRenamed returns an "diff-renamed" Octicon SVG node.

func Ellipsis Uses

func Ellipsis() *html.Node

Ellipsis returns an "ellipsis" Octicon SVG node.

func Eye Uses

func Eye() *html.Node

Eye returns an "eye" Octicon SVG node.

func File Uses

func File() *html.Node

File returns an "file" Octicon SVG node.

func FileBinary Uses

func FileBinary() *html.Node

FileBinary returns an "file-binary" Octicon SVG node.

func FileCode Uses

func FileCode() *html.Node

FileCode returns an "file-code" Octicon SVG node.

func FileDirectory Uses

func FileDirectory() *html.Node

FileDirectory returns an "file-directory" Octicon SVG node.

func FileMedia Uses

func FileMedia() *html.Node

FileMedia returns an "file-media" Octicon SVG node.

func FilePdf Uses

func FilePdf() *html.Node

FilePdf returns an "file-pdf" Octicon SVG node.

func FileSubmodule Uses

func FileSubmodule() *html.Node

FileSubmodule returns an "file-submodule" Octicon SVG node.

func FileSymlinkDirectory Uses

func FileSymlinkDirectory() *html.Node

FileSymlinkDirectory returns an "file-symlink-directory" Octicon SVG node.

func FileSymlinkFile Uses

func FileSymlinkFile() *html.Node

FileSymlinkFile returns an "file-symlink-file" Octicon SVG node.

func FileText Uses

func FileText() *html.Node

FileText returns an "file-text" Octicon SVG node.

func FileZip Uses

func FileZip() *html.Node

FileZip returns an "file-zip" Octicon SVG node.

func Flame Uses

func Flame() *html.Node

Flame returns an "flame" Octicon SVG node.

func Fold Uses

func Fold() *html.Node

Fold returns an "fold" Octicon SVG node.

func Gear Uses

func Gear() *html.Node

Gear returns an "gear" Octicon SVG node.

func Gift Uses

func Gift() *html.Node

Gift returns an "gift" Octicon SVG node.

func Gist Uses

func Gist() *html.Node

Gist returns an "gist" Octicon SVG node.

func GistSecret Uses

func GistSecret() *html.Node

GistSecret returns an "gist-secret" Octicon SVG node.

func GitBranch Uses

func GitBranch() *html.Node

GitBranch returns an "git-branch" Octicon SVG node.

func GitCommit Uses

func GitCommit() *html.Node

GitCommit returns an "git-commit" Octicon SVG node.

func GitCompare Uses

func GitCompare() *html.Node

GitCompare returns an "git-compare" Octicon SVG node.

func GitMerge Uses

func GitMerge() *html.Node

GitMerge returns an "git-merge" Octicon SVG node.

func GitPullRequest Uses

func GitPullRequest() *html.Node

GitPullRequest returns an "git-pull-request" Octicon SVG node.

func Globe Uses

func Globe() *html.Node

Globe returns an "globe" Octicon SVG node.

func Grabber Uses

func Grabber() *html.Node

Grabber returns an "grabber" Octicon SVG node.

func Graph Uses

func Graph() *html.Node

Graph returns an "graph" Octicon SVG node.

func Heart Uses

func Heart() *html.Node

Heart returns an "heart" Octicon SVG node.

func History Uses

func History() *html.Node

History returns an "history" Octicon SVG node.

func Home Uses

func Home() *html.Node

Home returns an "home" Octicon SVG node.

func HorizontalRule Uses

func HorizontalRule() *html.Node

HorizontalRule returns an "horizontal-rule" Octicon SVG node.

func Hubot Uses

func Hubot() *html.Node

Hubot returns an "hubot" Octicon SVG node.

func Icon Uses

func Icon(name string) *html.Node

Icon returns the named Octicon SVG node. It returns nil if name is not a valid Octicon symbol name.

func Inbox Uses

func Inbox() *html.Node

Inbox returns an "inbox" Octicon SVG node.

func Info Uses

func Info() *html.Node

Info returns an "info" Octicon SVG node.

func IssueClosed Uses

func IssueClosed() *html.Node

IssueClosed returns an "issue-closed" Octicon SVG node.

func IssueOpened Uses

func IssueOpened() *html.Node

IssueOpened returns an "issue-opened" Octicon SVG node.

func IssueReopened Uses

func IssueReopened() *html.Node

IssueReopened returns an "issue-reopened" Octicon SVG node.

func Italic Uses

func Italic() *html.Node

Italic returns an "italic" Octicon SVG node.

func Jersey Uses

func Jersey() *html.Node

Jersey returns an "jersey" Octicon SVG node.

func KebabHorizontal Uses

func KebabHorizontal() *html.Node

KebabHorizontal returns an "kebab-horizontal" Octicon SVG node.

func KebabVertical Uses

func KebabVertical() *html.Node

KebabVertical returns an "kebab-vertical" Octicon SVG node.

func Key Uses

func Key() *html.Node

Key returns an "key" Octicon SVG node.

func Keyboard Uses

func Keyboard() *html.Node

Keyboard returns an "keyboard" Octicon SVG node.

func Law Uses

func Law() *html.Node

Law returns an "law" Octicon SVG node.

func LightBulb Uses

func LightBulb() *html.Node

LightBulb returns an "light-bulb" Octicon SVG node.

func Link() *html.Node

Link returns an "link" Octicon SVG node.

func LinkExternal Uses

func LinkExternal() *html.Node

LinkExternal returns an "link-external" Octicon SVG node.

func ListOrdered Uses

func ListOrdered() *html.Node

ListOrdered returns an "list-ordered" Octicon SVG node.

func ListUnordered Uses

func ListUnordered() *html.Node

ListUnordered returns an "list-unordered" Octicon SVG node.

func Location Uses

func Location() *html.Node

Location returns an "location" Octicon SVG node.

func Lock Uses

func Lock() *html.Node

Lock returns an "lock" Octicon SVG node.

func LogoGist Uses

func LogoGist() *html.Node

LogoGist returns an "logo-gist" Octicon SVG node.

func LogoGithub Uses

func LogoGithub() *html.Node

LogoGithub returns an "logo-github" Octicon SVG node.

func Mail Uses

func Mail() *html.Node

Mail returns an "mail" Octicon SVG node.

func MailRead Uses

func MailRead() *html.Node

MailRead returns an "mail-read" Octicon SVG node.

func MailReply Uses

func MailReply() *html.Node

MailReply returns an "mail-reply" Octicon SVG node.

func MarkGithub Uses

func MarkGithub() *html.Node

MarkGithub returns an "mark-github" Octicon SVG node.

func Markdown Uses

func Markdown() *html.Node

Markdown returns an "markdown" Octicon SVG node.

func Megaphone Uses

func Megaphone() *html.Node

Megaphone returns an "megaphone" Octicon SVG node.

func Mention Uses

func Mention() *html.Node

Mention returns an "mention" Octicon SVG node.

func Milestone Uses

func Milestone() *html.Node

Milestone returns an "milestone" Octicon SVG node.

func Mirror Uses

func Mirror() *html.Node

Mirror returns an "mirror" Octicon SVG node.

func MortarBoard Uses

func MortarBoard() *html.Node

MortarBoard returns an "mortar-board" Octicon SVG node.

func Mute Uses

func Mute() *html.Node

Mute returns an "mute" Octicon SVG node.

func NoNewline Uses

func NoNewline() *html.Node

NoNewline returns an "no-newline" Octicon SVG node.

func Note Uses

func Note() *html.Node

Note returns an "note" Octicon SVG node.

func Octoface Uses

func Octoface() *html.Node

Octoface returns an "octoface" Octicon SVG node.

func Organization Uses

func Organization() *html.Node

Organization returns an "organization" Octicon SVG node.

func Package Uses

func Package() *html.Node

Package returns an "package" Octicon SVG node.

func Paintcan Uses

func Paintcan() *html.Node

Paintcan returns an "paintcan" Octicon SVG node.

func Pencil Uses

func Pencil() *html.Node

Pencil returns an "pencil" Octicon SVG node.

func Person Uses

func Person() *html.Node

Person returns an "person" Octicon SVG node.

func Pin Uses

func Pin() *html.Node

Pin returns an "pin" Octicon SVG node.

func Plug Uses

func Plug() *html.Node

Plug returns an "plug" Octicon SVG node.

func Plus Uses

func Plus() *html.Node

Plus returns an "plus" Octicon SVG node.

func PlusSmall Uses

func PlusSmall() *html.Node

PlusSmall returns an "plus-small" Octicon SVG node.

func PrimitiveDot Uses

func PrimitiveDot() *html.Node

PrimitiveDot returns an "primitive-dot" Octicon SVG node.

func PrimitiveSquare Uses

func PrimitiveSquare() *html.Node

PrimitiveSquare returns an "primitive-square" Octicon SVG node.

func Project Uses

func Project() *html.Node

Project returns an "project" Octicon SVG node.

func Pulse Uses

func Pulse() *html.Node

Pulse returns an "pulse" Octicon SVG node.

func Question Uses

func Question() *html.Node

Question returns an "question" Octicon SVG node.

func Quote Uses

func Quote() *html.Node

Quote returns an "quote" Octicon SVG node.

func RSS Uses

func RSS() *html.Node

RSS returns an "rss" Octicon SVG node.

func RadioTower Uses

func RadioTower() *html.Node

RadioTower returns an "radio-tower" Octicon SVG node.

func Reply Uses

func Reply() *html.Node

Reply returns an "reply" Octicon SVG node.

func Repo Uses

func Repo() *html.Node

Repo returns an "repo" Octicon SVG node.

func RepoClone Uses

func RepoClone() *html.Node

RepoClone returns an "repo-clone" Octicon SVG node.

func RepoForcePush Uses

func RepoForcePush() *html.Node

RepoForcePush returns an "repo-force-push" Octicon SVG node.

func RepoForked Uses

func RepoForked() *html.Node

RepoForked returns an "repo-forked" Octicon SVG node.

func RepoPull Uses

func RepoPull() *html.Node

RepoPull returns an "repo-pull" Octicon SVG node.

func RepoPush Uses

func RepoPush() *html.Node

RepoPush returns an "repo-push" Octicon SVG node.

func Rocket Uses

func Rocket() *html.Node

Rocket returns an "rocket" Octicon SVG node.

func Ruby Uses

func Ruby() *html.Node

Ruby returns an "ruby" Octicon SVG node.

func ScreenFull Uses

func ScreenFull() *html.Node

ScreenFull returns an "screen-full" Octicon SVG node.

func ScreenNormal Uses

func ScreenNormal() *html.Node

ScreenNormal returns an "screen-normal" Octicon SVG node.

func Search() *html.Node

Search returns an "search" Octicon SVG node.

func Server Uses

func Server() *html.Node

Server returns an "server" Octicon SVG node.

func Settings Uses

func Settings() *html.Node

Settings returns an "settings" Octicon SVG node.

func Shield Uses

func Shield() *html.Node

Shield returns an "shield" Octicon SVG node.

func SignIn Uses

func SignIn() *html.Node

SignIn returns an "sign-in" Octicon SVG node.

func SignOut Uses

func SignOut() *html.Node

SignOut returns an "sign-out" Octicon SVG node.

func Smiley Uses

func Smiley() *html.Node

Smiley returns an "smiley" Octicon SVG node.

func Squirrel Uses

func Squirrel() *html.Node

Squirrel returns an "squirrel" Octicon SVG node.

func Star Uses

func Star() *html.Node

Star returns an "star" Octicon SVG node.

func Stop Uses

func Stop() *html.Node

Stop returns an "stop" Octicon SVG node.

func Sync Uses

func Sync() *html.Node

Sync returns an "sync" Octicon SVG node.

func Tag Uses

func Tag() *html.Node

Tag returns an "tag" Octicon SVG node.

func Tasklist Uses

func Tasklist() *html.Node

Tasklist returns an "tasklist" Octicon SVG node.

func Telescope Uses

func Telescope() *html.Node

Telescope returns an "telescope" Octicon SVG node.

func Terminal Uses

func Terminal() *html.Node

Terminal returns an "terminal" Octicon SVG node.

func TextSize Uses

func TextSize() *html.Node

TextSize returns an "text-size" Octicon SVG node.

func ThreeBars Uses

func ThreeBars() *html.Node

ThreeBars returns an "three-bars" Octicon SVG node.

func Thumbsdown Uses

func Thumbsdown() *html.Node

Thumbsdown returns an "thumbsdown" Octicon SVG node.

func Thumbsup Uses

func Thumbsup() *html.Node

Thumbsup returns an "thumbsup" Octicon SVG node.

func Tools Uses

func Tools() *html.Node

Tools returns an "tools" Octicon SVG node.

func Trashcan Uses

func Trashcan() *html.Node

Trashcan returns an "trashcan" Octicon SVG node.

func TriangleDown Uses

func TriangleDown() *html.Node

TriangleDown returns an "triangle-down" Octicon SVG node.

func TriangleLeft Uses

func TriangleLeft() *html.Node

TriangleLeft returns an "triangle-left" Octicon SVG node.

func TriangleRight Uses

func TriangleRight() *html.Node

TriangleRight returns an "triangle-right" Octicon SVG node.

func TriangleUp Uses

func TriangleUp() *html.Node

TriangleUp returns an "triangle-up" Octicon SVG node.

func Unfold Uses

func Unfold() *html.Node

Unfold returns an "unfold" Octicon SVG node.

func Unmute Uses

func Unmute() *html.Node

Unmute returns an "unmute" Octicon SVG node.

func Unverified Uses

func Unverified() *html.Node

Unverified returns an "unverified" Octicon SVG node.

func Verified Uses

func Verified() *html.Node

Verified returns an "verified" Octicon SVG node.

func Versions Uses

func Versions() *html.Node

Versions returns an "versions" Octicon SVG node.

func Watch Uses

func Watch() *html.Node

Watch returns an "watch" Octicon SVG node.

func X Uses

func X() *html.Node

X returns an "x" Octicon SVG node.

func Zap Uses

func Zap() *html.Node

Zap returns an "zap" Octicon SVG node.

Package octiconssvg imports 2 packages (graph) and is imported by 13 packages. Updated 2017-09-28. Refresh now. Tools for package owners.