MCPcopy Create free account

hub / github.com/canopyclimate/golive / functions

Functions1,499 in github.com/canopyclimate/golive

FunctionTestExecutePanicDuringCall
Check that panics during calls are recovered and returned as errors.
internal/text/template/exec_test.go:1651
FunctionTestExplore
(t *testing.T)
htmltmpl/golive_test.go:8
FunctionTestExplore
(t *testing.T)
internal/text/template/golive_test.go:13
FunctionTestFile
(t *testing.T)
live/internal/phx/upload_test.go:31
FunctionTestFinalForPrintf
(t *testing.T)
htmltmpl/exec_test.go:1073
FunctionTestFinalForPrintf
(t *testing.T)
internal/text/template/exec_test.go:1101
FunctionTestFindEndTag
(t *testing.T)
htmltmpl/transition_test.go:13
FunctionTestFuncMapWorksAfterClone
https://golang.org/issue/5980
htmltmpl/clone_test.go:181
FunctionTestGoodFuncNames
(t *testing.T)
htmltmpl/exec_test.go:1366
FunctionTestGoodFuncNames
(t *testing.T)
internal/text/template/exec_test.go:1398
FunctionTestHTMLNospaceEscaper
(t *testing.T)
htmltmpl/html_test.go:13
FunctionTestHeartbeat
(t *testing.T)
live/internal/phx/reply_test.go:12
FunctionTestHexDecode
(t *testing.T)
htmltmpl/css_test.go:114
FunctionTestHideCmd
(t *testing.T)
live/js_test.go:45
FunctionTestIdempotentExecute
This covers issue #20842.
htmltmpl/escape_test.go:1979
FunctionTestIndirectPrint
(t *testing.T)
htmltmpl/escape_test.go:1901
FunctionTestInitial
(t *testing.T)
changeset/changeset_test.go:206
FunctionTestInterface
(t *testing.T)
internal/fmtsort/sort_test.go:244
FunctionTestInterfaceValues
(t *testing.T)
htmltmpl/exec_test.go:1545
FunctionTestInterfaceValues
(t *testing.T)
internal/text/template/exec_test.go:1577
FunctionTestIsCSSNmchar
(t *testing.T)
htmltmpl/css_test.go:36
FunctionTestIsEmpty
(t *testing.T)
internal/text/template/parse/parse_test.go:457
FunctionTestIsJsMimeType
(t *testing.T)
htmltmpl/js_test.go:338
FunctionTestIssue19294
Issue 19249 was a regression in 1.8 caused by the handling of empty templates added in that release, which got different answers depending on the orde
htmltmpl/multi_test.go:263
FunctionTestIssue19294
Issue 19249 was a regression in 1.8 caused by the handling of empty templates added in that release, which got different answers depending on the orde
internal/text/template/multi_test.go:428
FunctionTestIssue31810
Issue 31810. Check that a parenthesized first argument behaves properly.
htmltmpl/exec_test.go:1681
FunctionTestIssue31810
Issue 31810. Check that a parenthesized first argument behaves properly.
internal/text/template/exec_test.go:1713
FunctionTestIssue39807
Issue 39807: data race in html/template & text/template
internal/text/template/exec_test.go:1764
FunctionTestIssue43065
Issue 43065, range over send only channel
internal/text/template/exec_test.go:1751
FunctionTestIssue48215
Issue 48215: embedded nil pointer causes panic. Fixed by adding FieldByIndexErr to the reflect package.
internal/text/template/exec_test.go:1802
FunctionTestJSEscaping
(t *testing.T)
htmltmpl/exec_test.go:916
FunctionTestJSEscaping
(t *testing.T)
internal/text/template/exec_test.go:945
FunctionTestJSRegexpEscaper
(t *testing.T)
htmltmpl/js_test.go:226
FunctionTestJSStrEscaper
(t *testing.T)
htmltmpl/js_test.go:171
FunctionTestJSValEscaper
(t *testing.T)
htmltmpl/js_test.go:106
FunctionTestKeywordsAndFuncs
(t *testing.T)
internal/text/template/parse/parse_test.go:394
FunctionTestLex
(t *testing.T)
internal/text/template/parse/lex_test.go:433
FunctionTestLineNum
(t *testing.T)
internal/text/template/parse/parse_test.go:629
FunctionTestMarshalUnmarshal
(t *testing.T)
live/internal/phx/upload_test.go:8
FunctionTestMaxExecDepth
(t *testing.T)
htmltmpl/exec_test.go:1506
FunctionTestMaxExecDepth
(t *testing.T)
internal/text/template/exec_test.go:1538
FunctionTestMessageForExecuteEmpty
(t *testing.T)
htmltmpl/exec_test.go:1037
FunctionTestMessageForExecuteEmpty
(t *testing.T)
internal/text/template/exec_test.go:1066
FunctionTestMissingMapKey
(t *testing.T)
htmltmpl/exec_test.go:1251
FunctionTestMissingMapKey
(t *testing.T)
internal/text/template/exec_test.go:1282
FunctionTestMultiExecute
(t *testing.T)
htmltmpl/multi_test.go:45
FunctionTestMultiExecute
(t *testing.T)
internal/text/template/multi_test.go:115
FunctionTestMultiParse
(t *testing.T)
internal/text/template/multi_test.go:50
FunctionTestNew
(t *testing.T)
internal/text/template/multi_test.go:343
FunctionTestNextJsCtx
(t *testing.T)
htmltmpl/js_test.go:13
FunctionTestNonEmptyRangeSerialization
(t *testing.T)
internal/tmpl/tree_test.go:187
FunctionTestNumberParse
(t *testing.T)
internal/text/template/parse/parse_test.go:89
FunctionTestNumbers
(t *testing.T)
htmltmpl/template_test.go:121
FunctionTestOneDynamicWithEmptyStaticResultsInString
(t *testing.T)
internal/tmpl/tree_test.go:86
FunctionTestOrder
(t *testing.T)
internal/fmtsort/sort_test.go:235
FunctionTestOrphanedTemplate
Covers issue 22780.
htmltmpl/escape_test.go:2023
FunctionTestParse
(t *testing.T)
htmltmpl/multi_test.go:207
FunctionTestParse
(t *testing.T)
internal/text/template/multi_test.go:372
FunctionTestParse
(t *testing.T)
internal/text/template/parse/parse_test.go:361
FunctionTestParseCopy
Same as TestParse, but we copy the node first
internal/text/template/parse/parse_test.go:366
FunctionTestParseFS
(t *testing.T)
htmltmpl/multi_test.go:88
FunctionTestParseFS
(t *testing.T)
internal/text/template/multi_test.go:158
FunctionTestParseFiles
(t *testing.T)
htmltmpl/multi_test.go:58
FunctionTestParseFiles
(t *testing.T)
internal/text/template/multi_test.go:128
FunctionTestParseFilesWithData
(t *testing.T)
htmltmpl/multi_test.go:123
FunctionTestParseFilesWithData
(t *testing.T)
internal/text/template/multi_test.go:193
FunctionTestParseGlob
(t *testing.T)
htmltmpl/multi_test.go:71
FunctionTestParseGlob
(t *testing.T)
internal/text/template/multi_test.go:141
FunctionTestParseGlobWithData
(t *testing.T)
htmltmpl/multi_test.go:131
FunctionTestParseGlobWithData
(t *testing.T)
internal/text/template/multi_test.go:201
FunctionTestParseWithComments
(t *testing.T)
internal/text/template/parse/parse_test.go:370
FunctionTestParseZipFS
(t *testing.T)
htmltmpl/multi_test.go:139
FunctionTestPipeToMethodIsEscaped
This is a test for issue 7379: type assertion error caused panic, and then the code to handle the panic breaks escaping. It's hard to see the second p
htmltmpl/escape_test.go:1942
FunctionTestPos
The other tests don't check position, to make the test cases easier to construct. This one does.
internal/text/template/parse/lex_test.go:552
FunctionTestPushCmd
(t *testing.T)
live/js_test.go:91
FunctionTestRangeTemplateSerialization
(t *testing.T)
internal/tmpl/tree_test.go:220
FunctionTestRecursiveExecute
(t *testing.T)
htmltmpl/exec_test.go:1761
FunctionTestRecursiveExecuteViaMethod
(t *testing.T)
htmltmpl/exec_test.go:1803
FunctionTestRedefineAfterNamedExecution
(t *testing.T)
htmltmpl/template_test.go:63
FunctionTestRedefineAfterNonExecution
(t *testing.T)
htmltmpl/template_test.go:55
FunctionTestRedefineEmptyAfterExecution
(t *testing.T)
htmltmpl/template_test.go:47
FunctionTestRedefineNestedByNameAfterExecution
(t *testing.T)
htmltmpl/template_test.go:71
FunctionTestRedefineNestedByTemplateAfterExecution
(t *testing.T)
htmltmpl/template_test.go:79
FunctionTestRedefineNonEmptyAfterExecution
(t *testing.T)
htmltmpl/template_test.go:40
FunctionTestRedefineOtherParsers
(t *testing.T)
htmltmpl/template_test.go:106
FunctionTestRedefineSafety
(t *testing.T)
htmltmpl/template_test.go:87
FunctionTestRedefineTopUse
(t *testing.T)
htmltmpl/template_test.go:98
FunctionTestRedefinition
(t *testing.T)
htmltmpl/multi_test.go:170
FunctionTestRedefinition
(t *testing.T)
internal/text/template/multi_test.go:307
FunctionTestRedundantFuncs
(t *testing.T)
htmltmpl/escape_test.go:1867
FunctionTestRendered
(t *testing.T)
live/internal/phx/reply_test.go:28
FunctionTestReplyDiff
(t *testing.T)
live/internal/phx/reply_test.go:50
FunctionTestShowCmd
(t *testing.T)
live/js_test.go:22
FunctionTestSkipCSSSpace
(t *testing.T)
htmltmpl/css_test.go:127
FunctionTestSkipEscapeComments
(t *testing.T)
htmltmpl/template_test.go:165
FunctionTestSkipFuncCheck
(t *testing.T)
internal/text/template/parse/parse_test.go:424
FunctionTestSrcsetFilter
(t *testing.T)
htmltmpl/url_test.go:90
FunctionTestStringer
(t *testing.T)
htmltmpl/content_test.go:420
FunctionTestStringsInScriptsWithJsonContentTypeAreCorrectlyEscaped
(t *testing.T)
htmltmpl/template_test.go:127
FunctionTestStripTags
(t *testing.T)
htmltmpl/html_test.go:50
← previousnext →1,101–1,200 of 1,499, ranked by callers