package octicon_test
import (
"io"
"log"
"os"
"github.com/shurcooL/octicon"
"golang.org/x/net/html"
)
func Example() {
var w io.Writer = os.Stdout // Or, e.g., http.ResponseWriter in your HTTP handler, etc.
err := html.Render(w, octicon.Alert())
if err != nil {
log.Fatalln(err)
}
// Output:
//
}
func ExampleSetSize() {
var w io.Writer = os.Stdout // Or, e.g., http.ResponseWriter in your HTTP handler, etc.
err := html.Render(w, octicon.SetSize(octicon.MarkGitHub(), 24))
if err != nil {
log.Fatalln(err)
}
// Output:
//
}