react

package module
v0.0.0-...-389821e Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2018 License: BSD-3-Clause Imports: 7 Imported by: 0

README ¶

** myitcv.io/react ** has moved

The repository hosting myitcv.io/react has changed.

myitcv.io/react can now be found at:

https://github.com/myitcv/x/tree/master/react

Documentation ¶

Overview ¶

Package react is a set of GopherJS bindings for Facebook's React, a Javascript library for building user interfaces.

For more information see https://github.com/myitcv/react/wiki

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type AElem ¶

type AElem struct {
	Element
}

AElem is the React element definition corresponding to the HTML <a> element

func A ¶

func A(props *AProps, children ...Element) *AElem

A creates a new instance of a <a> element with the provided props and children

type AProps ¶

type AProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	Href                    string
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
	Target                  string
	Title                   string
}

AProps defines the properties for the <a> element

type AbbrElem ¶

type AbbrElem struct {
	Element
}

AbbrElem is the React element definition corresponding to the HTML <abbr> element

func Abbr ¶

func Abbr(props *AbbrProps, children ...Element) *AbbrElem

Abbr creates a new instance of a <abbr> element with the provided props and children

type AbbrProps ¶

type AbbrProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

AbbrProps defines the properties for the <abbr> element

type AriaSet ¶

type AriaSet map[string]string

type ArticleElem ¶

type ArticleElem struct {
	Element
}

ArticleElem is the React element definition corresponding to the HTML <article> element

func Article ¶

func Article(props *ArticleProps, children ...Element) *ArticleElem

Article creates a new instance of a <article> element with the provided props and children

type ArticleProps ¶

type ArticleProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

ArticleProps defines the properties for the <article> element

type AsideElem ¶

type AsideElem struct {
	Element
}

AsideElem is the React element definition corresponding to the HTML <aside> element

func Aside ¶

func Aside(props *AsideProps, children ...Element) *AsideElem

Aside creates a new instance of a <aside> element with the provided props and children

type AsideProps ¶

type AsideProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

AsideProps defines the properties for the <aside> element

type BElem ¶

type BElem struct {
	Element
}

BElem is the React element definition corresponding to the HTML <b> element

func B ¶

func B(props *BProps, children ...Element) *BElem

B creates a new instance of a <b> element with the provided props and children

type BProps ¶

type BProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

BProps defines the properties for the <b> element

type BrElem ¶

type BrElem struct {
	Element
}

BrElem is the React element definition corresponding to the HTML <br> element

func Br ¶

func Br(props *BrProps, children ...Element) *BrElem

Br creates a new instance of a <br> element with the provided props and children

type BrProps ¶

type BrProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

BrProps defines the properties for the <br> element

type ButtonElem ¶

type ButtonElem struct {
	Element
}

ButtonElem is the React element definition corresponding to the HTML <button> element

func Button ¶

func Button(props *ButtonProps, children ...Element) *ButtonElem

Button creates a new instance of a <button> element with the provided props and children

type ButtonProps ¶

type ButtonProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
	Type                    string
}

ButtonProps defines the properties for the <button> element

type CSS ¶

type CSS struct {
	Float     string
	FontSize  string
	FontStyle string
	Height    string
	Left      string
	MarginTop string
	MaxHeight string
	MinHeight string
	Overflow  string
	OverflowY string
	Position  string
	Resize    string
	Top       string
	Width     string
	ZIndex    string
	// contains filtered or unexported fields
}

CSS defines CSS attributes for HTML components. Largely based on https://developer.mozilla.org/en-US/docs/Web/CSS/Reference

type CaptionElem ¶

type CaptionElem struct {
	Element
}

CaptionElem is the React element definition corresponding to the HTML <caption> element

func Caption ¶

func Caption(props *CaptionProps, children ...Element) *CaptionElem

Caption creates a new instance of a <caption> element with the provided props and children

type CaptionProps ¶

type CaptionProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

CaptionProps defines the properties for the <caption> element

type CodeElem ¶

type CodeElem struct {
	Element
}

CodeElem is the React element definition corresponding to the HTML <code> element

func Code ¶

func Code(props *CodeProps, children ...Element) *CodeElem

Code creates a new instance of a <code> element with the provided props and children

type CodeProps ¶

type CodeProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

CodeProps defines the properties for the <code> element

type Component ¶

type Component interface {
	RendersElement() Element
}

type ComponentBuilder ¶

type ComponentBuilder func(elem ComponentDef) Component

type ComponentDef ¶

type ComponentDef struct {
	// contains filtered or unexported fields
}

ComponentDef is embedded in a type definition to indicate the type is a component

func (ComponentDef) Children ¶

func (c ComponentDef) Children() []Element

func (ComponentDef) ForceUpdate ¶

func (c ComponentDef) ForceUpdate()

func (ComponentDef) Props ¶

func (c ComponentDef) Props() Props

func (ComponentDef) SetState ¶

func (c ComponentDef) SetState(i State)

func (ComponentDef) State ¶

func (c ComponentDef) State() State

type DangerousInnerHTML ¶

type DangerousInnerHTML struct {
	// contains filtered or unexported fields
}

DangerousInnerHTML is convenience definition that allows HTML to be directly set as the child of a DOM element. See https://facebook.github.io/react/docs/dom-elements.html#dangerouslysetinnerhtml for more details

func NewDangerousInnerHTML ¶

func NewDangerousInnerHTML(s string) *DangerousInnerHTML

NewDangerousInnerHTML creates a new DangerousInnerHTML instance, using the supplied string as the raw HTML

type DataSet ¶

type DataSet map[string]string

type DivElem ¶

type DivElem struct {
	Element
}

DivElem is the React element definition corresponding to the HTML <div> element

func Div ¶

func Div(props *DivProps, children ...Element) *DivElem

Div creates a new instance of a <div> element with the provided props and children

type DivProps ¶

type DivProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

DivProps defines the properties for the <div> element

type Element ¶

type Element = core.Element

func CreateElement ¶

func CreateElement(buildCmp ComponentBuilder, newprops Props, children ...Element) Element

func Render ¶

func Render(el Element, container dom.Element) Element

type EmElem ¶

type EmElem struct {
	Element
}

EmElem is the React element definition corresponding to the HTML <em> element

func Em ¶

func Em(props *EmProps, children ...Element) *EmElem

Em creates a new instance of a <em> element with the provided props and children

type EmProps ¶

type EmProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

EmProps defines the properties for the <em> element

type Event ¶

type Event interface{}

type FooterElem ¶

type FooterElem struct {
	Element
}

FooterElem is the React element definition corresponding to the HTML <footer> element

func Footer(props *FooterProps, children ...Element) *FooterElem

Footer creates a new instance of a <footer> element with the provided props and children

type FooterProps ¶

type FooterProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

FooterProps defines the properties for the <footer> element

type FormElem ¶

type FormElem struct {
	Element
}

FormElem is the React element definition corresponding to the HTML <form> element

func Form ¶

func Form(props *FormProps, children ...Element) *FormElem

Form creates a new instance of a <form> element with the provided props and children

type FormProps ¶

type FormProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

FormProps defines the properties for the <form> element

type FragmentElem ¶

type FragmentElem struct {
	Element
}

FragmentElem is the special React Fragment element definition. Fragments let you group a list of children without adding extra nodes to the DOM. See https://reactjs.org/docs/fragments.html for more details.

func Fragment ¶

func Fragment(children ...Element) *FragmentElem

Fragment creates a new instance of a <React.Fragment> element with the provided children

type H1Elem ¶

type H1Elem struct {
	Element
}

H1Elem is the React element definition corresponding to the HTML <h1> element

func H1 ¶

func H1(props *H1Props, children ...Element) *H1Elem

H1 creates a new instance of a <h1> element with the provided props and children

type H1Props ¶

type H1Props struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

H1Props defines the properties for the <h1> element

type H2Elem ¶

type H2Elem struct {
	Element
}

H2Elem is the React element definition corresponding to the HTML <h2> element

func H2 ¶

func H2(props *H2Props, children ...Element) *H2Elem

H2 creates a new instance of a <h2> element with the provided props and children

type H2Props ¶

type H2Props struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

H2Props defines the properties for the <h2> element

type H3Elem ¶

type H3Elem struct {
	Element
}

H3Elem is the React element definition corresponding to the HTML <h3> element

func H3 ¶

func H3(props *H3Props, children ...Element) *H3Elem

H3 creates a new instance of a <h3> element with the provided props and children

type H3Props ¶

type H3Props struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

H3Props defines the properties for the <h3> element

type H4Elem ¶

type H4Elem struct {
	Element
}

H4Elem is the React element definition corresponding to the HTML <h4> element

func H4 ¶

func H4(props *H4Props, children ...Element) *H4Elem

H4 creates a new instance of a <h4> element with the provided props and children

type H4Props ¶

type H4Props struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

H4Props defines the properties for the <h4> element

type H5Elem ¶

type H5Elem struct {
	Element
}

H5Elem is the React element definition corresponding to the HTML <h5> element

func H5 ¶

func H5(props *H5Props, children ...Element) *H5Elem

H5 creates a new instance of a <h5> element with the provided props and children

type H5Props ¶

type H5Props struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

H5Props defines the properties for the <h5> element

type H6Elem ¶

type H6Elem struct {
	Element
}

H6Elem is the React element definition corresponding to the HTML <h6> element

func H6 ¶

func H6(props *H6Props, children ...Element) *H6Elem

H6 creates a new instance of a <h6> element with the provided props and children

type H6Props ¶

type H6Props struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

H6Props defines the properties for the <h6> element

type HeaderElem ¶

type HeaderElem struct {
	Element
}

HeaderElem is the React element definition corresponding to the HTML <header> element

func Header(props *HeaderProps, children ...Element) *HeaderElem

Header creates a new instance of a <header> element with the provided props and children

type HeaderProps ¶

type HeaderProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

HeaderProps defines the properties for the <header> element

type HrElem ¶

type HrElem struct {
	Element
}

HrElem is the React element definition corresponding to the HTML <hr> element

func Hr ¶

func Hr(props *HrProps) *HrElem

Hr creates a new instance of a <hr> element with the provided props and children

type HrProps ¶

type HrProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

HrProps defines the properties for the <hr> element

type IElem ¶

type IElem struct {
	Element
}

IElem is the React element definition corresponding to the HTML <i> element

func I ¶

func I(props *IProps, children ...Element) *IElem

I creates a new instance of a <i> element with the provided props and children

type IFrameElem ¶

type IFrameElem struct {
	Element
}

IFrameElem is the React element definition corresponding to the HTML <iframe> element

func IFrame ¶

func IFrame(props *IFrameProps, children ...Element) *IFrameElem

IFrame creates a new instance of a <iframe> element with the provided props and children

type IFrameProps ¶

type IFrameProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	SrcDoc                  string
	Style                   *CSS
}

IFrameProps defines the properties for the <iframe> element

type IProps ¶

type IProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

IProps defines the properties for the <i> element

type ImgElem ¶

type ImgElem struct {
	Element
}

ImgElem is the React element definition corresponding to the HTML <img> element

func Img ¶

func Img(props *ImgProps, children ...Element) *ImgElem

Img creates a new instance of a <img> element with the provided props and children

type ImgProps ¶

type ImgProps struct {
	Alt                     string
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Src                     string
	Style                   *CSS
}

ImgProps defines the properties for the <img> element

type InputElem ¶

type InputElem struct {
	Element
}

InputElem is the React element definition corresponding to the HTML <input> element

func Input ¶

func Input(props *InputProps, children ...Element) *InputElem

Input creates a new instance of a <input> element with the provided props and children

type InputProps ¶

type InputProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Placeholder             string
	Ref                     Ref
	Role                    string
	Style                   *CSS
	Type                    string
	Value                   string
}

InputProps defines the properties for the <input> element

type LabelElem ¶

type LabelElem struct {
	Element
}

LabelElem is the React element definition corresponding to the HTML <label> element

func Label ¶

func Label(props *LabelProps, children ...Element) *LabelElem

Label creates a new instance of a <label> element with the provided props and children

type LabelProps ¶

type LabelProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	For                     string
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

LabelProps defines the properties for the <label> element

type LiElem ¶

type LiElem struct {
	Element
}

LiElem is the React element definition corresponding to the HTML <li> element

func Li ¶

func Li(props *LiProps, children ...Element) *LiElem

Li creates a new instance of a <li> element with the provided props and children

func (*LiElem) RendersLi ¶

func (l *LiElem) RendersLi(*LiElem)

type LiProps ¶

type LiProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

LiProps defines the properties for the <li> element

type MainElem ¶

type MainElem struct {
	Element
}

MainElem is the React element definition corresponding to the HTML <main> element

func Main ¶

func Main(props *MainProps, children ...Element) *MainElem

Main creates a new instance of a <main> element with the provided props and children

type MainProps ¶

type MainProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

MainProps defines the properties for the <main> element

type NavElem struct {
	Element
}

NavElem is the React element definition corresponding to the HTML <nav> element

func Nav(props *NavProps, children ...Element) *NavElem

Nav creates a new instance of a <nav> element with the provided props and children

type NavProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

NavProps defines the properties for the <nav> element

type OnChange ¶

type OnChange interface {
	Event

	OnChange(e *SyntheticEvent)
}

type OnClick ¶

type OnClick interface {
	Event

	OnClick(e *SyntheticMouseEvent)
}

type OptionElem ¶

type OptionElem struct {
	Element
}

OptionElem is the React element definition corresponding to the HTML <option> element

func Option ¶

func Option(props *OptionProps, children ...Element) *OptionElem

Option creates a new instance of a <option> element with the provided props and children

type OptionProps ¶

type OptionProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
	Value                   string
}

OptionProps defines the properties for the <option> element

type PElem ¶

type PElem struct {
	Element
}

PElem is the React element definition corresponding to the HTML <p> element

func P ¶

func P(props *PProps, children ...Element) *PElem

P creates a new instance of a <p> element with the provided props and children

type PProps ¶

type PProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

PProps defines the properties for the <p> element

type PreElem ¶

type PreElem struct {
	Element
}

PreElem is the React element definition corresponding to the HTML <pre> element

func Pre ¶

func Pre(props *PreProps, children ...Element) *PreElem

Pre creates a new instance of a <pre> element with the provided props and children

type PreProps ¶

type PreProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

PreProps defines the properties for the <pre> element

type Props ¶

type Props interface {
	IsProps()
	EqualsIntf(v Props) bool
}

type Ref ¶

type Ref interface {
	Ref(h *js.Object)
}

type RendersLi ¶

type RendersLi interface {
	Element
	RendersLi(*LiElem)
}

type S ¶

type S = core.S

S is the React representation of a string

func Sprintf ¶

func Sprintf(format string, args ...interface{}) S

type SelectElem ¶

type SelectElem struct {
	Element
}

SelectElem is the React element definition corresponding to the HTML <select> element

func Select ¶

func Select(props *SelectProps, children ...*OptionElem) *SelectElem

Select creates a new instance of a <select> element with the provided props and children

type SelectProps ¶

type SelectProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
	Value                   string
}

SelectProps defines the properties for the <select> element

type SpanElem ¶

type SpanElem struct {
	Element
}

SpanElem is the React element definition corresponding to the HTML <span> element

func Span ¶

func Span(props *SpanProps, children ...Element) *SpanElem

Span creates a new instance of a <span> element with the provided props and children

type SpanProps ¶

type SpanProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

SpanProps defines the properties for the <span> element

type State ¶

type State interface {
	IsState()
	EqualsIntf(v State) bool
}

type StrikeElem ¶

type StrikeElem struct {
	Element
}

StrikeElem is the React element definition corresponding to the HTML <s> element

func Strike ¶

func Strike(props *StrikeProps, children ...Element) *StrikeElem

Strike creates a new instance of a <s> element with the provided props and children

type StrikeProps ¶

type StrikeProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

StrikeProps defines the properties for the <s> element

type SupElem ¶

type SupElem struct {
	Element
}

SupElem is the React element definition corresponding to the HTML <sup> element

func Sup ¶

func Sup(props *SupProps, children ...Element) *SupElem

Sup creates a new instance of a <sup> element with the provided props and children

type SupProps ¶

type SupProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

SupProps defines the properties for the <sup> element

type SyntheticEvent ¶

type SyntheticEvent struct {
	PreventDefault  func() `js:"preventDefault"`
	StopPropagation func() `js:"stopPropagation"`
	// contains filtered or unexported fields
}

func (*SyntheticEvent) Target ¶

func (s *SyntheticEvent) Target() dom.HTMLElement

type SyntheticMouseEvent ¶

type SyntheticMouseEvent struct {
	*SyntheticEvent

	ClientX int `js:"clientX"`
}

type TableElem ¶

type TableElem struct {
	Element
}

TableElem is the React element definition corresponding to the HTML <table> element

func Table ¶

func Table(props *TableProps, children ...Element) *TableElem

Table creates a new instance of a <table> element with the provided props and children

type TableProps ¶

type TableProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

TableProps defines the properties for the <table> element

type TbodyElem ¶

type TbodyElem struct {
	Element
}

TbodyElem is the React element definition corresponding to the HTML <tbody> element

func Tbody ¶

func Tbody(props *TbodyProps, children ...Element) *TbodyElem

Tbody creates a new instance of a <tbody> element with the provided props and children

type TbodyProps ¶

type TbodyProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

TbodyProps defines the properties for the <tbody> element

type TdElem ¶

type TdElem struct {
	Element
}

TdElem is the React element definition corresponding to the HTML <td> element

func Td ¶

func Td(props *TdProps, children ...Element) *TdElem

Td creates a new instance of a <td> element with the provided props and children

type TdProps ¶

type TdProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

TdProps defines the properties for the <td> element

type TextAreaElem ¶

type TextAreaElem struct {
	Element
}

TextAreaElem is the React element definition corresponding to the HTML <textarea> element

func TextArea ¶

func TextArea(props *TextAreaProps, children ...Element) *TextAreaElem

TextArea creates a new instance of a <textarea> element with the provided props and children

type TextAreaProps ¶

type TextAreaProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Placeholder             string
	Ref                     Ref
	Role                    string
	Style                   *CSS
	Value                   string
}

TextAreaProps defines the properties for the <textarea> element

type ThElem ¶

type ThElem struct {
	Element
}

ThElem is the React element definition corresponding to the HTML <th> element

func Th ¶

func Th(props *ThProps, children ...Element) *ThElem

Th creates a new instance of a <th> element with the provided props and children

type ThProps ¶

type ThProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

ThProps defines the properties for the <th> element

type TheadElem ¶

type TheadElem struct {
	Element
}

TheadElem is the React element definition corresponding to the HTML <thead> element

func Thead ¶

func Thead(props *TheadProps, children ...Element) *TheadElem

Thead creates a new instance of a <thead> element with the provided props and children

type TheadProps ¶

type TheadProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

TheadProps defines the properties for the <thead> element

type TrElem ¶

type TrElem struct {
	Element
}

TrElem is the React element definition corresponding to the HTML <tr> element

func Tr ¶

func Tr(props *TrProps, children ...Element) *TrElem

Tr creates a new instance of a <tr> element with the provided props and children

type TrProps ¶

type TrProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

TrProps defines the properties for the <tr> element

type UlElem ¶

type UlElem struct {
	Element
}

UlElem is the React element definition corresponding to the HTML <ul> element

func Ul ¶

func Ul(props *UlProps, children ...RendersLi) *UlElem

Ul creates a new instance of a <ul> element with the provided props and children

type UlProps ¶

type UlProps struct {
	AriaExpanded            bool
	AriaHasPopup            bool
	AriaLabelledBy          string
	ClassName               string
	DangerouslySetInnerHTML *DangerousInnerHTML
	DataSet                 DataSet
	ID                      string
	Key                     string
	OnChange                OnChange
	OnClick                 OnClick
	Ref                     Ref
	Role                    string
	Style                   *CSS
}

UlProps defines the properties for the <ul> element

Directories ¶

Path Synopsis
_vendor
src/github.com/fsnotify/fsnotify
Package fsnotify provides a platform-independent interface for file system notifications.
Package fsnotify provides a platform-independent interface for file system notifications.
src/github.com/gopherjs/gopherjs/compiler/gopherjspkg
Package gopherjspkg provides core GopherJS packages via a virtual filesystem.
Package gopherjspkg provides core GopherJS packages via a virtual filesystem.
src/github.com/gopherjs/gopherjs/compiler/natives
Package natives provides native packages via a virtual filesystem.
Package natives provides native packages via a virtual filesystem.
src/github.com/gopherjs/gopherjs/internal/sysutil
Package sysutil contains system-specific utilities.
Package sysutil contains system-specific utilities.
src/github.com/gopherjs/gopherjs/js
Package js provides functions for interacting with native JavaScript APIs.
Package js provides functions for interacting with native JavaScript APIs.
src/github.com/gopherjs/gopherjs/tests
Package tests contains tests for GopherJS.
Package tests contains tests for GopherJS.
src/github.com/gopherjs/jsbuiltin
Package jsbuiltin provides minimal wrappers around some JavasScript built-in functions.
Package jsbuiltin provides minimal wrappers around some JavasScript built-in functions.
src/github.com/jteeuwen/go-bindata
bindata converts any file into managable Go source code.
bindata converts any file into managable Go source code.
src/github.com/kardianos/osext
Extensions to the standard "os" package.
Extensions to the standard "os" package.
src/github.com/kisielk/gotool
Package gotool contains utility functions used to implement the standard "cmd/go" tool, provided as a convenience to developers who want to write tools with similar semantics.
Package gotool contains utility functions used to implement the standard "cmd/go" tool, provided as a convenience to developers who want to write tools with similar semantics.
src/github.com/russross/blackfriday
Blackfriday markdown processor.
Blackfriday markdown processor.
src/github.com/sclevine/agouti
Package agouti is a universal WebDriver client for Go.
Package agouti is a universal WebDriver client for Go.
src/github.com/sclevine/agouti/api
Package api provides a generic, low-level WebDriver API client for Go.
Package api provides a generic, low-level WebDriver API client for Go.
src/github.com/sclevine/agouti/matchers
Package matchers provides a set of Gomega-compatible matchers for use with the agouti package.
Package matchers provides a set of Gomega-compatible matchers for use with the agouti package.
src/github.com/shurcooL/httpfs/filter
Package filter offers an http.FileSystem wrapper with the ability to keep or skip files.
Package filter offers an http.FileSystem wrapper with the ability to keep or skip files.
src/github.com/shurcooL/httpfs/html/vfstemplate
Package vfstemplate offers html/template helpers that use http.FileSystem.
Package vfstemplate offers html/template helpers that use http.FileSystem.
src/github.com/shurcooL/httpfs/httputil
Package httputil implements HTTP utility functions for http.FileSystem.
Package httputil implements HTTP utility functions for http.FileSystem.
src/github.com/shurcooL/httpfs/path/vfspath
Package vfspath implements utility routines for manipulating virtual file system paths.
Package vfspath implements utility routines for manipulating virtual file system paths.
src/github.com/shurcooL/httpfs/union
Package union offers a simple http.FileSystem that can unify multiple filesystems at various mount points.
Package union offers a simple http.FileSystem that can unify multiple filesystems at various mount points.
src/github.com/shurcooL/httpfs/vfsutil
Package vfsutil implements some I/O utility functions for http.FileSystem.
Package vfsutil implements some I/O utility functions for http.FileSystem.
src/github.com/shurcooL/sanitized_anchor_name
Package sanitized_anchor_name provides a func to create sanitized anchor names.
Package sanitized_anchor_name provides a func to create sanitized anchor names.
src/github.com/spf13/cobra
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
src/github.com/spf13/pflag
Package pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
Package pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
src/golang.org/x/crypto/acme
Package acme provides an implementation of the Automatic Certificate Management Environment (ACME) spec.
Package acme provides an implementation of the Automatic Certificate Management Environment (ACME) spec.
src/golang.org/x/crypto/acme/autocert
Package autocert provides automatic access to certificates from Let's Encrypt and any other ACME-based CA.
Package autocert provides automatic access to certificates from Let's Encrypt and any other ACME-based CA.
src/golang.org/x/crypto/bcrypt
Package bcrypt implements Provos and Mazières's bcrypt adaptive hashing algorithm.
Package bcrypt implements Provos and Mazières's bcrypt adaptive hashing algorithm.
src/golang.org/x/crypto/blake2b
Package blake2b implements the BLAKE2b hash algorithm as defined in RFC 7693.
Package blake2b implements the BLAKE2b hash algorithm as defined in RFC 7693.
src/golang.org/x/crypto/blake2s
Package blake2s implements the BLAKE2s hash algorithm as defined in RFC 7693.
Package blake2s implements the BLAKE2s hash algorithm as defined in RFC 7693.
src/golang.org/x/crypto/blowfish
Package blowfish implements Bruce Schneier's Blowfish encryption algorithm.
Package blowfish implements Bruce Schneier's Blowfish encryption algorithm.
src/golang.org/x/crypto/bn256
Package bn256 implements a particular bilinear group at the 128-bit security level.
Package bn256 implements a particular bilinear group at the 128-bit security level.
src/golang.org/x/crypto/cast5
Package cast5 implements CAST5, as defined in RFC 2144.
Package cast5 implements CAST5, as defined in RFC 2144.
src/golang.org/x/crypto/chacha20poly1305
Package chacha20poly1305 implements the ChaCha20-Poly1305 AEAD as specified in RFC 7539.
Package chacha20poly1305 implements the ChaCha20-Poly1305 AEAD as specified in RFC 7539.
src/golang.org/x/crypto/chacha20poly1305/internal/chacha20
Package ChaCha20 implements the core ChaCha20 function as specified in https://tools.ietf.org/html/rfc7539#section-2.3.
Package ChaCha20 implements the core ChaCha20 function as specified in https://tools.ietf.org/html/rfc7539#section-2.3.
src/golang.org/x/crypto/cryptobyte
Package cryptobyte implements building and parsing of byte strings for DER-encoded ASN.1 and TLS messages.
Package cryptobyte implements building and parsing of byte strings for DER-encoded ASN.1 and TLS messages.
src/golang.org/x/crypto/curve25519
Package curve25519 provides an implementation of scalar multiplication on the elliptic curve known as curve25519.
Package curve25519 provides an implementation of scalar multiplication on the elliptic curve known as curve25519.
src/golang.org/x/crypto/ed25519
Package ed25519 implements the Ed25519 signature algorithm.
Package ed25519 implements the Ed25519 signature algorithm.
src/golang.org/x/crypto/hkdf
Package hkdf implements the HMAC-based Extract-and-Expand Key Derivation Function (HKDF) as defined in RFC 5869.
Package hkdf implements the HMAC-based Extract-and-Expand Key Derivation Function (HKDF) as defined in RFC 5869.
src/golang.org/x/crypto/md4
Package md4 implements the MD4 hash algorithm as defined in RFC 1320.
Package md4 implements the MD4 hash algorithm as defined in RFC 1320.
src/golang.org/x/crypto/nacl/box
Package box authenticates and encrypts messages using public-key cryptography.
Package box authenticates and encrypts messages using public-key cryptography.
src/golang.org/x/crypto/nacl/secretbox
Package secretbox encrypts and authenticates small messages.
Package secretbox encrypts and authenticates small messages.
src/golang.org/x/crypto/ocsp
Package ocsp parses OCSP responses as specified in RFC 2560.
Package ocsp parses OCSP responses as specified in RFC 2560.
src/golang.org/x/crypto/openpgp
Package openpgp implements high level operations on OpenPGP messages.
Package openpgp implements high level operations on OpenPGP messages.
src/golang.org/x/crypto/openpgp/armor
Package armor implements OpenPGP ASCII Armor, see RFC 4880.
Package armor implements OpenPGP ASCII Armor, see RFC 4880.
src/golang.org/x/crypto/openpgp/clearsign
Package clearsign generates and processes OpenPGP, clear-signed data.
Package clearsign generates and processes OpenPGP, clear-signed data.
src/golang.org/x/crypto/openpgp/elgamal
Package elgamal implements ElGamal encryption, suitable for OpenPGP, as specified in "A Public-Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms," IEEE Transactions on Information Theory, v.
Package elgamal implements ElGamal encryption, suitable for OpenPGP, as specified in "A Public-Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms," IEEE Transactions on Information Theory, v.
src/golang.org/x/crypto/openpgp/errors
Package errors contains common error types for the OpenPGP packages.
Package errors contains common error types for the OpenPGP packages.
src/golang.org/x/crypto/openpgp/packet
Package packet implements parsing and serialization of OpenPGP packets, as specified in RFC 4880.
Package packet implements parsing and serialization of OpenPGP packets, as specified in RFC 4880.
src/golang.org/x/crypto/openpgp/s2k
Package s2k implements the various OpenPGP string-to-key transforms as specified in RFC 4800 section 3.7.1.
Package s2k implements the various OpenPGP string-to-key transforms as specified in RFC 4800 section 3.7.1.
src/golang.org/x/crypto/otr
Package otr implements the Off The Record protocol as specified in http://www.cypherpunks.ca/otr/Protocol-v2-3.1.0.html
Package otr implements the Off The Record protocol as specified in http://www.cypherpunks.ca/otr/Protocol-v2-3.1.0.html
src/golang.org/x/crypto/pbkdf2
Package pbkdf2 implements the key derivation function PBKDF2 as defined in RFC 2898 / PKCS #5 v2.0.
Package pbkdf2 implements the key derivation function PBKDF2 as defined in RFC 2898 / PKCS #5 v2.0.
src/golang.org/x/crypto/pkcs12
Package pkcs12 implements some of PKCS#12.
Package pkcs12 implements some of PKCS#12.
src/golang.org/x/crypto/pkcs12/internal/rc2
Package rc2 implements the RC2 cipher https://www.ietf.org/rfc/rfc2268.txt http://people.csail.mit.edu/rivest/pubs/KRRR98.pdf This code is licensed under the MIT license.
Package rc2 implements the RC2 cipher https://www.ietf.org/rfc/rfc2268.txt http://people.csail.mit.edu/rivest/pubs/KRRR98.pdf This code is licensed under the MIT license.
src/golang.org/x/crypto/poly1305
Package poly1305 implements Poly1305 one-time message authentication code as specified in http://cr.yp.to/mac/poly1305-20050329.pdf.
Package poly1305 implements Poly1305 one-time message authentication code as specified in http://cr.yp.to/mac/poly1305-20050329.pdf.
src/golang.org/x/crypto/ripemd160
Package ripemd160 implements the RIPEMD-160 hash algorithm.
Package ripemd160 implements the RIPEMD-160 hash algorithm.
src/golang.org/x/crypto/salsa20
Package salsa20 implements the Salsa20 stream cipher as specified in http://cr.yp.to/snuffle/spec.pdf.
Package salsa20 implements the Salsa20 stream cipher as specified in http://cr.yp.to/snuffle/spec.pdf.
src/golang.org/x/crypto/salsa20/salsa
Package salsa provides low-level access to functions in the Salsa family.
Package salsa provides low-level access to functions in the Salsa family.
src/golang.org/x/crypto/scrypt
Package scrypt implements the scrypt key derivation function as defined in Colin Percival's paper "Stronger Key Derivation via Sequential Memory-Hard Functions" (http://www.tarsnap.com/scrypt/scrypt.pdf).
Package scrypt implements the scrypt key derivation function as defined in Colin Percival's paper "Stronger Key Derivation via Sequential Memory-Hard Functions" (http://www.tarsnap.com/scrypt/scrypt.pdf).
src/golang.org/x/crypto/sha3
Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length hash functions defined by FIPS-202.
Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length hash functions defined by FIPS-202.
src/golang.org/x/crypto/ssh
Package ssh implements an SSH client and server.
Package ssh implements an SSH client and server.
src/golang.org/x/crypto/ssh/agent
Package agent implements the ssh-agent protocol, and provides both a client and a server.
Package agent implements the ssh-agent protocol, and provides both a client and a server.
src/golang.org/x/crypto/ssh/terminal
Package terminal provides support functions for dealing with terminals, as commonly found on UNIX systems.
Package terminal provides support functions for dealing with terminals, as commonly found on UNIX systems.
src/golang.org/x/crypto/ssh/test
This package contains integration tests for the golang.org/x/crypto/ssh package.
This package contains integration tests for the golang.org/x/crypto/ssh package.
src/golang.org/x/crypto/twofish
Package twofish implements Bruce Schneier's Twofish encryption algorithm.
Package twofish implements Bruce Schneier's Twofish encryption algorithm.
src/golang.org/x/crypto/xtea
Package xtea implements XTEA encryption, as defined in Needham and Wheeler's 1997 technical report, "Tea extensions."
Package xtea implements XTEA encryption, as defined in Needham and Wheeler's 1997 technical report, "Tea extensions."
src/golang.org/x/crypto/xts
Package xts implements the XTS cipher mode as specified in IEEE P1619/D16.
Package xts implements the XTS cipher mode as specified in IEEE P1619/D16.
src/golang.org/x/net/bpf
Package bpf implements marshaling and unmarshaling of programs for the Berkeley Packet Filter virtual machine, and provides a Go implementation of the virtual machine.
Package bpf implements marshaling and unmarshaling of programs for the Berkeley Packet Filter virtual machine, and provides a Go implementation of the virtual machine.
src/golang.org/x/net/context
Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes.
Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes.
src/golang.org/x/net/context/ctxhttp
Package ctxhttp provides helper functions for performing context-aware HTTP requests.
Package ctxhttp provides helper functions for performing context-aware HTTP requests.
src/golang.org/x/net/dict
Package dict implements the Dictionary Server Protocol as defined in RFC 2229.
Package dict implements the Dictionary Server Protocol as defined in RFC 2229.
src/golang.org/x/net/dns/dnsmessage
Package dnsmessage provides a mostly RFC 1035 compliant implementation of DNS message packing and unpacking.
Package dnsmessage provides a mostly RFC 1035 compliant implementation of DNS message packing and unpacking.
src/golang.org/x/net/html
Package html implements an HTML5-compliant tokenizer and parser.
Package html implements an HTML5-compliant tokenizer and parser.
src/golang.org/x/net/html/atom
Package atom provides integer codes (also known as atoms) for a fixed set of frequently occurring HTML strings: tag names and attribute keys such as "p" and "id".
Package atom provides integer codes (also known as atoms) for a fixed set of frequently occurring HTML strings: tag names and attribute keys such as "p" and "id".
src/golang.org/x/net/html/charset
Package charset provides common text encodings for HTML documents.
Package charset provides common text encodings for HTML documents.
src/golang.org/x/net/http2
Package http2 implements the HTTP/2 protocol.
Package http2 implements the HTTP/2 protocol.
src/golang.org/x/net/http2/h2i
The h2i command is an interactive HTTP/2 console.
The h2i command is an interactive HTTP/2 console.
src/golang.org/x/net/http2/hpack
Package hpack implements HPACK, a compression format for efficiently representing HTTP header fields in the context of HTTP/2.
Package hpack implements HPACK, a compression format for efficiently representing HTTP header fields in the context of HTTP/2.
src/golang.org/x/net/icmp
Package icmp provides basic functions for the manipulation of messages used in the Internet Control Message Protocols, ICMPv4 and ICMPv6.
Package icmp provides basic functions for the manipulation of messages used in the Internet Control Message Protocols, ICMPv4 and ICMPv6.
src/golang.org/x/net/idna
Package idna implements IDNA2008 using the compatibility processing defined by UTS (Unicode Technical Standard) #46, which defines a standard to deal with the transition from IDNA2003.
Package idna implements IDNA2008 using the compatibility processing defined by UTS (Unicode Technical Standard) #46, which defines a standard to deal with the transition from IDNA2003.
src/golang.org/x/net/internal/iana
Package iana provides protocol number resources managed by the Internet Assigned Numbers Authority (IANA).
Package iana provides protocol number resources managed by the Internet Assigned Numbers Authority (IANA).
src/golang.org/x/net/internal/nettest
Package nettest provides utilities for network testing.
Package nettest provides utilities for network testing.
src/golang.org/x/net/internal/timeseries
Package timeseries implements a time series structure for stats collection.
Package timeseries implements a time series structure for stats collection.
src/golang.org/x/net/ipv4
Package ipv4 implements IP-level socket options for the Internet Protocol version 4.
Package ipv4 implements IP-level socket options for the Internet Protocol version 4.
src/golang.org/x/net/ipv6
Package ipv6 implements IP-level socket options for the Internet Protocol version 6.
Package ipv6 implements IP-level socket options for the Internet Protocol version 6.
src/golang.org/x/net/lex/httplex
Package httplex contains rules around lexical matters of various HTTP-related specifications.
Package httplex contains rules around lexical matters of various HTTP-related specifications.
src/golang.org/x/net/nettest
Package nettest provides utilities for network testing.
Package nettest provides utilities for network testing.
src/golang.org/x/net/netutil
Package netutil provides network utility functions, complementing the more common ones in the net package.
Package netutil provides network utility functions, complementing the more common ones in the net package.
src/golang.org/x/net/proxy
Package proxy provides support for a variety of protocols to proxy network data.
Package proxy provides support for a variety of protocols to proxy network data.
src/golang.org/x/net/publicsuffix
Package publicsuffix provides a public suffix list based on data from http://publicsuffix.org/.
Package publicsuffix provides a public suffix list based on data from http://publicsuffix.org/.
src/golang.org/x/net/route
Package route provides basic functions for the manipulation of packet routing facilities on BSD variants.
Package route provides basic functions for the manipulation of packet routing facilities on BSD variants.
src/golang.org/x/net/trace
Package trace implements tracing of requests and long-lived objects.
Package trace implements tracing of requests and long-lived objects.
src/golang.org/x/net/webdav
Package webdav provides a WebDAV server implementation.
Package webdav provides a WebDAV server implementation.
src/golang.org/x/net/webdav/internal/xml
Package xml implements a simple XML 1.0 parser that understands XML name spaces.
Package xml implements a simple XML 1.0 parser that understands XML name spaces.
src/golang.org/x/net/websocket
Package websocket implements a client and server for the WebSocket protocol as specified in RFC 6455.
Package websocket implements a client and server for the WebSocket protocol as specified in RFC 6455.
src/golang.org/x/net/xsrftoken
Package xsrftoken provides methods for generating and validating secure XSRF tokens.
Package xsrftoken provides methods for generating and validating secure XSRF tokens.
src/golang.org/x/sys/unix
Package unix contains an interface to the low-level operating system primitives.
Package unix contains an interface to the low-level operating system primitives.
src/golang.org/x/sys/windows/svc
Package svc provides everything required to build Windows service.
Package svc provides everything required to build Windows service.
src/golang.org/x/sys/windows/svc/debug
Package debug provides facilities to execute svc.Handler on console.
Package debug provides facilities to execute svc.Handler on console.
src/golang.org/x/sys/windows/svc/eventlog
Package eventlog implements access to Windows event log.
Package eventlog implements access to Windows event log.
src/golang.org/x/sys/windows/svc/example
Example service program that beeps.
Example service program that beeps.
src/golang.org/x/sys/windows/svc/mgr
Package mgr can be used to manage Windows service programs.
Package mgr can be used to manage Windows service programs.
src/golang.org/x/tools/benchmark/parse
Package parse provides support for parsing benchmark results as generated by 'go test -bench'.
Package parse provides support for parsing benchmark results as generated by 'go test -bench'.
src/golang.org/x/tools/blog
Package blog implements a web server for articles written in present format.
Package blog implements a web server for articles written in present format.
src/golang.org/x/tools/blog/atom
Package atom defines XML data structures for an Atom feed.
Package atom defines XML data structures for an Atom feed.
src/golang.org/x/tools/cmd/benchcmp
The benchcmp command displays performance changes between benchmarks.
The benchcmp command displays performance changes between benchmarks.
src/golang.org/x/tools/cmd/bundle
Bundle creates a single-source-file version of a source package suitable for inclusion in a particular target package.
Bundle creates a single-source-file version of a source package suitable for inclusion in a particular target package.
src/golang.org/x/tools/cmd/callgraph
callgraph: a tool for reporting the call graph of a Go program.
callgraph: a tool for reporting the call graph of a Go program.
src/golang.org/x/tools/cmd/compilebench
Compilebench benchmarks the speed of the Go compiler.
Compilebench benchmarks the speed of the Go compiler.
src/golang.org/x/tools/cmd/cover
Cover is a program for analyzing the coverage profiles generated by 'go test -coverprofile=cover.out'.
Cover is a program for analyzing the coverage profiles generated by 'go test -coverprofile=cover.out'.
src/golang.org/x/tools/cmd/digraph
The digraph command performs queries over unlabelled directed graphs represented in text form.
The digraph command performs queries over unlabelled directed graphs represented in text form.
src/golang.org/x/tools/cmd/eg
The eg command performs example-based refactoring.
The eg command performs example-based refactoring.
src/golang.org/x/tools/cmd/fiximports
The fiximports command fixes import declarations to use the canonical import path for packages that have an "import comment" as defined by https://golang.org/s/go14customimport.
The fiximports command fixes import declarations to use the canonical import path for packages that have an "import comment" as defined by https://golang.org/s/go14customimport.
src/golang.org/x/tools/cmd/getgo
The getgo command installs Go to the user's system.
The getgo command installs Go to the user's system.
src/golang.org/x/tools/cmd/getgo/server
Command server serves get.golang.org, redirecting users to the appropriate getgo installer based on the request path.
Command server serves get.golang.org, redirecting users to the appropriate getgo installer based on the request path.
src/golang.org/x/tools/cmd/go-contrib-init
The go-contrib-init command helps new Go contributors get their development environment set up for the Go contribution process.
The go-contrib-init command helps new Go contributors get their development environment set up for the Go contribution process.
src/golang.org/x/tools/cmd/godex
The godex command prints (dumps) exported information of packages or selected package objects.
The godex command prints (dumps) exported information of packages or selected package objects.
src/golang.org/x/tools/cmd/godoc
Godoc extracts and generates documentation for Go programs.
Godoc extracts and generates documentation for Go programs.
src/golang.org/x/tools/cmd/goimports
Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones.
Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones.
src/golang.org/x/tools/cmd/gomvpkg
The gomvpkg command moves go packages, updating import declarations.
The gomvpkg command moves go packages, updating import declarations.
src/golang.org/x/tools/cmd/gorename
The gorename command performs precise type-safe renaming of identifiers in Go source code.
The gorename command performs precise type-safe renaming of identifiers in Go source code.
src/golang.org/x/tools/cmd/gotype
The gotype command, like the front-end of a Go compiler, parses and type-checks a single Go package.
The gotype command, like the front-end of a Go compiler, parses and type-checks a single Go package.
src/golang.org/x/tools/cmd/goyacc
Goyacc is a version of yacc for Go.
Goyacc is a version of yacc for Go.
src/golang.org/x/tools/cmd/guru
guru: a tool for answering questions about Go source code.
guru: a tool for answering questions about Go source code.
src/golang.org/x/tools/cmd/guru/serial
Package serial defines the guru's schema for -json output.
Package serial defines the guru's schema for -json output.
src/golang.org/x/tools/cmd/heapview
heapview is a tool for viewing Go heap dumps.
heapview is a tool for viewing Go heap dumps.
src/golang.org/x/tools/cmd/heapview/internal/core
Package core provides functions for reading core dumps and examining their contained heaps.
Package core provides functions for reading core dumps and examining their contained heaps.
src/golang.org/x/tools/cmd/html2article
This program takes an HTML file and outputs a corresponding article file in present format.
This program takes an HTML file and outputs a corresponding article file in present format.
src/golang.org/x/tools/cmd/present
Present displays slide presentations and articles.
Present displays slide presentations and articles.
src/golang.org/x/tools/cmd/ssadump
ssadump: a tool for displaying and interpreting the SSA form of Go programs.
ssadump: a tool for displaying and interpreting the SSA form of Go programs.
src/golang.org/x/tools/cmd/stress
The stress utility is intended for catching sporadic failures.
The stress utility is intended for catching sporadic failures.
src/golang.org/x/tools/cmd/stringer
Stringer is a tool to automate the creation of methods that satisfy the fmt.Stringer interface.
Stringer is a tool to automate the creation of methods that satisfy the fmt.Stringer interface.
src/golang.org/x/tools/cmd/tip
Command tip is the tip.golang.org server, serving the latest HEAD straight from the Git oven.
Command tip is the tip.golang.org server, serving the latest HEAD straight from the Git oven.
src/golang.org/x/tools/cmd/toolstash
Toolstash provides a way to save, run, and restore a known good copy of the Go toolchain and to compare the object files generated by two toolchains.
Toolstash provides a way to save, run, and restore a known good copy of the Go toolchain and to compare the object files generated by two toolchains.
src/golang.org/x/tools/container/intsets
Package intsets provides Sparse, a compact and fast representation for sparse sets of int values.
Package intsets provides Sparse, a compact and fast representation for sparse sets of int values.
src/golang.org/x/tools/cover
Package cover provides support for parsing coverage profiles generated by "go test -coverprofile=cover.out".
Package cover provides support for parsing coverage profiles generated by "go test -coverprofile=cover.out".
src/golang.org/x/tools/go/ast/astutil
Package astutil contains common utilities for working with the Go AST.
Package astutil contains common utilities for working with the Go AST.
src/golang.org/x/tools/go/buildutil
Package buildutil provides utilities related to the go/build package in the standard library.
Package buildutil provides utilities related to the go/build package in the standard library.
src/golang.org/x/tools/go/callgraph
Package callgraph defines the call graph and various algorithms and utilities to operate on it.
Package callgraph defines the call graph and various algorithms and utilities to operate on it.
src/golang.org/x/tools/go/callgraph/cha
Package cha computes the call graph of a Go program using the Class Hierarchy Analysis (CHA) algorithm.
Package cha computes the call graph of a Go program using the Class Hierarchy Analysis (CHA) algorithm.
src/golang.org/x/tools/go/callgraph/rta
This package provides Rapid Type Analysis (RTA) for Go, a fast algorithm for call graph construction and discovery of reachable code (and hence dead code) and runtime types.
This package provides Rapid Type Analysis (RTA) for Go, a fast algorithm for call graph construction and discovery of reachable code (and hence dead code) and runtime types.
src/golang.org/x/tools/go/callgraph/static
Package static computes the call graph of a Go program containing only static call edges.
Package static computes the call graph of a Go program containing only static call edges.
src/golang.org/x/tools/go/gccgoexportdata
Package gccgoexportdata provides functions for reading export data files containing type information produced by the gccgo compiler.
Package gccgoexportdata provides functions for reading export data files containing type information produced by the gccgo compiler.
src/golang.org/x/tools/go/gcexportdata
Package gcexportdata provides functions for locating, reading, and writing export data files containing type information produced by the gc compiler.
Package gcexportdata provides functions for locating, reading, and writing export data files containing type information produced by the gc compiler.
src/golang.org/x/tools/go/internal/gccgoimporter
Package gccgoimporter implements Import for gccgo-generated object files.
Package gccgoimporter implements Import for gccgo-generated object files.
src/golang.org/x/tools/go/internal/gcimporter
Package gcimporter provides various functions for reading gc-generated object files that can be used to implement the Importer interface defined by the Go 1.5 standard library package.
Package gcimporter provides various functions for reading gc-generated object files that can be used to implement the Importer interface defined by the Go 1.5 standard library package.
src/golang.org/x/tools/go/loader
Package loader loads a complete Go program from source code, parsing and type-checking the initial packages plus their transitive closure of dependencies.
Package loader loads a complete Go program from source code, parsing and type-checking the initial packages plus their transitive closure of dependencies.
src/golang.org/x/tools/go/pointer
Package pointer implements Andersen's analysis, an inclusion-based pointer analysis algorithm first described in (Andersen, 1994).
Package pointer implements Andersen's analysis, an inclusion-based pointer analysis algorithm first described in (Andersen, 1994).
src/golang.org/x/tools/go/ssa
Package ssa defines a representation of the elements of Go programs (packages, types, functions, variables and constants) using a static single-assignment (SSA) form intermediate representation (IR) for the bodies of functions.
Package ssa defines a representation of the elements of Go programs (packages, types, functions, variables and constants) using a static single-assignment (SSA) form intermediate representation (IR) for the bodies of functions.
src/golang.org/x/tools/go/ssa/interp
Package ssa/interp defines an interpreter for the SSA representation of Go programs.
Package ssa/interp defines an interpreter for the SSA representation of Go programs.
src/golang.org/x/tools/go/types/typeutil
Package typeutil defines various utilities for types, such as Map, a mapping from types.Type to interface{} values.
Package typeutil defines various utilities for types, such as Map, a mapping from types.Type to interface{} values.
src/golang.org/x/tools/go/vcs
Package vcs exposes functions for resolving import paths and using version control systems, which can be used to implement behavior similar to the standard "go get" command.
Package vcs exposes functions for resolving import paths and using version control systems, which can be used to implement behavior similar to the standard "go get" command.
src/golang.org/x/tools/godoc
Package godoc is a work-in-progress (2013-07-17) package to begin splitting up the godoc binary into multiple pieces.
Package godoc is a work-in-progress (2013-07-17) package to begin splitting up the godoc binary into multiple pieces.
src/golang.org/x/tools/godoc/analysis
Package analysis performs type and pointer analysis and generates mark-up for the Go source view.
Package analysis performs type and pointer analysis and generates mark-up for the Go source view.
src/golang.org/x/tools/godoc/redirect
Package redirect provides hooks to register HTTP handlers that redirect old godoc paths to their new equivalents and assist in accessing the issue tracker, wiki, code review system, etc.
Package redirect provides hooks to register HTTP handlers that redirect old godoc paths to their new equivalents and assist in accessing the issue tracker, wiki, code review system, etc.
src/golang.org/x/tools/godoc/static
Package static exports a map of static file content that supports the godoc user interface.
Package static exports a map of static file content that supports the godoc user interface.
src/golang.org/x/tools/godoc/util
Package util contains utility types and functions for godoc.
Package util contains utility types and functions for godoc.
src/golang.org/x/tools/godoc/vfs
Package vfs defines types for abstract file system access and provides an implementation accessing the file system of the underlying OS.
Package vfs defines types for abstract file system access and provides an implementation accessing the file system of the underlying OS.
src/golang.org/x/tools/godoc/vfs/gatefs
Package gatefs provides an implementation of the FileSystem interface that wraps another FileSystem and limits its concurrency.
Package gatefs provides an implementation of the FileSystem interface that wraps another FileSystem and limits its concurrency.
src/golang.org/x/tools/godoc/vfs/httpfs
Package httpfs implements http.FileSystem using a godoc vfs.FileSystem.
Package httpfs implements http.FileSystem using a godoc vfs.FileSystem.
src/golang.org/x/tools/godoc/vfs/mapfs
Package mapfs file provides an implementation of the FileSystem interface based on the contents of a map[string]string.
Package mapfs file provides an implementation of the FileSystem interface based on the contents of a map[string]string.
src/golang.org/x/tools/godoc/vfs/zipfs
Package zipfs file provides an implementation of the FileSystem interface based on the contents of a .zip file.
Package zipfs file provides an implementation of the FileSystem interface based on the contents of a .zip file.
src/golang.org/x/tools/imports
Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary.
Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary.
src/golang.org/x/tools/internal/fastwalk
Package fastwalk provides a faster version of filepath.Walk for file system scanning tools.
Package fastwalk provides a faster version of filepath.Walk for file system scanning tools.
src/golang.org/x/tools/playground
Package playground registers HTTP handlers at "/compile" and "/share" that proxy requests to the golang.org playground service.
Package playground registers HTTP handlers at "/compile" and "/share" that proxy requests to the golang.org playground service.
src/golang.org/x/tools/playground/socket
Package socket implements an WebSocket-based playground backend.
Package socket implements an WebSocket-based playground backend.
src/golang.org/x/tools/present
The present file format Present files have the following format.
The present file format Present files have the following format.
src/golang.org/x/tools/refactor/eg
Package eg implements the example-based refactoring tool whose command-line is defined in golang.org/x/tools/cmd/eg.
Package eg implements the example-based refactoring tool whose command-line is defined in golang.org/x/tools/cmd/eg.
src/golang.org/x/tools/refactor/importgraph
Package importgraph computes the forward and reverse import dependency graphs for all packages in a Go workspace.
Package importgraph computes the forward and reverse import dependency graphs for all packages in a Go workspace.
src/golang.org/x/tools/refactor/rename
Package rename contains the implementation of the 'gorename' command whose main function is in golang.org/x/tools/cmd/gorename.
Package rename contains the implementation of the 'gorename' command whose main function is in golang.org/x/tools/cmd/gorename.
src/golang.org/x/tools/refactor/satisfy
Package satisfy inspects the type-checked ASTs of Go packages and reports the set of discovered type constraints of the form (lhs, rhs Type) where lhs is a non-trivial interface, rhs satisfies this interface, and this fact is necessary for the package to be well-typed.
Package satisfy inspects the type-checked ASTs of Go packages and reports the set of discovered type constraints of the form (lhs, rhs Type) where lhs is a non-trivial interface, rhs satisfies this interface, and this fact is necessary for the package to be well-typed.
src/honnef.co/go/js/dom
Package dom provides GopherJS bindings for the JavaScript DOM APIs.
Package dom provides GopherJS bindings for the JavaScript DOM APIs.
src/honnef.co/go/js/util
Package util provides some helpers for working with GopherJS.
Package util provides some helpers for working with GopherJS.
src/honnef.co/go/js/xhr
Package xhr provides GopherJS bindings for the XMLHttpRequest API.
Package xhr provides GopherJS bindings for the XMLHttpRequest API.
src/mvdan.cc/sh/fileutil
Package fileutil contains code to work with shell files, also known as shell scripts.
Package fileutil contains code to work with shell files, also known as shell scripts.
src/mvdan.cc/sh/interp
Package interp implements an interpreter that executes shell programs.
Package interp implements an interpreter that executes shell programs.
src/mvdan.cc/sh/shell
Package shell contains high-level features that use the syntax and interp packages under the hood.
Package shell contains high-level features that use the syntax and interp packages under the hood.
src/mvdan.cc/sh/syntax
Package syntax implements parsing and formatting of shell programs.
Package syntax implements parsing and formatting of shell programs.
src/myitcv.io/gjbt
gjbt is a simple (temporary) wrapper for GopherJS to run tests in Chrome as opposed to NodeJS.
gjbt is a simple (temporary) wrapper for GopherJS to run tests in Chrome as opposed to NodeJS.
src/myitcv.io/gogenerate
Package gogenerate exposes some of the unexported internals of the go generate command as a convenience for the authors of go generate generators.
Package gogenerate exposes some of the unexported internals of the go generate command as a convenience for the authors of go generate generators.
src/myitcv.io/highlightjs
Package highlightjs provides an incomplete wrapper for Highlight.js (https://github.com/isagalaev/highlight.js), a Javascript syntax highlighter
Package highlightjs provides an incomplete wrapper for Highlight.js (https://github.com/isagalaev/highlight.js), a Javascript syntax highlighter
src/myitcv.io/immutable
Package immutable is a helper package for the immutable data structures generated by myitcv.io/immutable/cmd/immutableGen.
Package immutable is a helper package for the immutable data structures generated by myitcv.io/immutable/cmd/immutableGen.
src/myitcv.io/immutable/cmd/immutableGen
immutableGen is a go generate generator that creates immutable struct, map and slice type declarations from template type declarations.
immutableGen is a go generate generator that creates immutable struct, map and slice type declarations from template type declarations.
src/myitcv.io/remarkable
Package remarkable provides an incomplete wrapper for remarkable (https://github.com/jonschlinkert/remarkable), a pure Javascript markdown parser
Package remarkable provides an incomplete wrapper for remarkable (https://github.com/jonschlinkert/remarkable), a pure Javascript markdown parser
cmd
coreGen
coreGen is a go generate generator that helps to automate writing the core of myitcv.io/react.
coreGen is a go generate generator that helps to automate writing the core of myitcv.io/react.
cssGen
cssGen is a temporary code generator for the myitcv.io/react.CSS type
cssGen is a temporary code generator for the myitcv.io/react.CSS type
reactGen
reactGen is a go generate generator that helps to automate the process of writing GopherJS React web applications.
reactGen is a go generate generator that helps to automate the process of writing GopherJS React web applications.
reactVet
reactVet is a vet program used to check the correctness of myitcv.io/react based packages.
reactVet is a vet program used to check the correctness of myitcv.io/react based packages.
stateGen
stateGen is a go generate generator that helps to automate the process of creating state trees for use in GopherJS React web applications.
stateGen is a go generate generator that helps to automate the process of creating state trees for use in GopherJS React web applications.
components
imm
internal
dev
Package jsx allows you to render blocks of HTML as myitcv.io/react elements.
Package jsx allows you to render blocks of HTML as myitcv.io/react elements.

Jump to

Keyboard shortcuts

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