Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSnippetTooLarge = fmt.Errorf("code snippet too large (max %d bytes)", maxSnippetSize)
Functions ¶
This section is empty.
Types ¶
type CompileEvent ¶
CompileEvent represents individual event record in CompileResponse
type CompileResponse ¶
type CompileResponse struct { Body *string Events []*CompileEvent Errors string }
CompileResponse is the response returned from upstream play.golang.org/compile request
func (CompileResponse) GetBody ¶
func (r CompileResponse) GetBody() string
func (*CompileResponse) HasError ¶
func (cr *CompileResponse) HasError() error
type FmtResponse ¶
FmtResponse is the response returned from upstream play.golang.org/fmt request
func (*FmtResponse) HasError ¶
func (r *FmtResponse) HasError() error
Click to show internal directories.
Click to hide internal directories.