go: github.com/shurcooL/go/openutil Index | Files

package openutil

import "github.com/shurcooL/go/openutil"

Package openutil displays Markdown or HTML in a new browser tab.

Index

Package Files

openutil.go

func DisplayHTMLInBrowser Uses

func DisplayHTMLInBrowser(mux *http.ServeMux, stopServerChan <-chan struct{}, query string)

DisplayHTMLInBrowser displays given html page in a new browser window/tab. query can be empty, otherwise it should begin with "?" like "?key=value".

func DisplayMarkdownInBrowser Uses

func DisplayMarkdownInBrowser(markdown []byte)

DisplayMarkdownInBrowser displays given Markdown in a new browser window/tab.

Package openutil imports 8 packages (graph) and is imported by 5 packages. Updated 2017-03-10. Refresh now. Tools for package owners.