Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/canopyclimate/golive
/ functions
Functions
1,499 in github.com/canopyclimate/golive
⨍
Functions
1,499
◇
Types & classes
179
Function
TestExecutePanicDuringCall
Check that panics during calls are recovered and returned as errors.
internal/text/template/exec_test.go:1651
Function
TestExplore
(t *testing.T)
htmltmpl/golive_test.go:8
Function
TestExplore
(t *testing.T)
internal/text/template/golive_test.go:13
Function
TestFile
(t *testing.T)
live/internal/phx/upload_test.go:31
Function
TestFinalForPrintf
(t *testing.T)
htmltmpl/exec_test.go:1073
Function
TestFinalForPrintf
(t *testing.T)
internal/text/template/exec_test.go:1101
Function
TestFindEndTag
(t *testing.T)
htmltmpl/transition_test.go:13
Function
TestFuncMapWorksAfterClone
https://golang.org/issue/5980
htmltmpl/clone_test.go:181
Function
TestGoodFuncNames
(t *testing.T)
htmltmpl/exec_test.go:1366
Function
TestGoodFuncNames
(t *testing.T)
internal/text/template/exec_test.go:1398
Function
TestHTMLNospaceEscaper
(t *testing.T)
htmltmpl/html_test.go:13
Function
TestHeartbeat
(t *testing.T)
live/internal/phx/reply_test.go:12
Function
TestHexDecode
(t *testing.T)
htmltmpl/css_test.go:114
Function
TestHideCmd
(t *testing.T)
live/js_test.go:45
Function
TestIdempotentExecute
This covers issue #20842.
htmltmpl/escape_test.go:1979
Function
TestIndirectPrint
(t *testing.T)
htmltmpl/escape_test.go:1901
Function
TestInitial
(t *testing.T)
changeset/changeset_test.go:206
Function
TestInterface
(t *testing.T)
internal/fmtsort/sort_test.go:244
Function
TestInterfaceValues
(t *testing.T)
htmltmpl/exec_test.go:1545
Function
TestInterfaceValues
(t *testing.T)
internal/text/template/exec_test.go:1577
Function
TestIsCSSNmchar
(t *testing.T)
htmltmpl/css_test.go:36
Function
TestIsEmpty
(t *testing.T)
internal/text/template/parse/parse_test.go:457
Function
TestIsJsMimeType
(t *testing.T)
htmltmpl/js_test.go:338
Function
TestIssue19294
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
Function
TestIssue19294
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
Function
TestIssue31810
Issue 31810. Check that a parenthesized first argument behaves properly.
htmltmpl/exec_test.go:1681
Function
TestIssue31810
Issue 31810. Check that a parenthesized first argument behaves properly.
internal/text/template/exec_test.go:1713
Function
TestIssue39807
Issue 39807: data race in html/template & text/template
internal/text/template/exec_test.go:1764
Function
TestIssue43065
Issue 43065, range over send only channel
internal/text/template/exec_test.go:1751
Function
TestIssue48215
Issue 48215: embedded nil pointer causes panic. Fixed by adding FieldByIndexErr to the reflect package.
internal/text/template/exec_test.go:1802
Function
TestJSEscaping
(t *testing.T)
htmltmpl/exec_test.go:916
Function
TestJSEscaping
(t *testing.T)
internal/text/template/exec_test.go:945
Function
TestJSRegexpEscaper
(t *testing.T)
htmltmpl/js_test.go:226
Function
TestJSStrEscaper
(t *testing.T)
htmltmpl/js_test.go:171
Function
TestJSValEscaper
(t *testing.T)
htmltmpl/js_test.go:106
Function
TestKeywordsAndFuncs
(t *testing.T)
internal/text/template/parse/parse_test.go:394
Function
TestLex
(t *testing.T)
internal/text/template/parse/lex_test.go:433
Function
TestLineNum
(t *testing.T)
internal/text/template/parse/parse_test.go:629
Function
TestMarshalUnmarshal
(t *testing.T)
live/internal/phx/upload_test.go:8
Function
TestMaxExecDepth
(t *testing.T)
htmltmpl/exec_test.go:1506
Function
TestMaxExecDepth
(t *testing.T)
internal/text/template/exec_test.go:1538
Function
TestMessageForExecuteEmpty
(t *testing.T)
htmltmpl/exec_test.go:1037
Function
TestMessageForExecuteEmpty
(t *testing.T)
internal/text/template/exec_test.go:1066
Function
TestMissingMapKey
(t *testing.T)
htmltmpl/exec_test.go:1251
Function
TestMissingMapKey
(t *testing.T)
internal/text/template/exec_test.go:1282
Function
TestMultiExecute
(t *testing.T)
htmltmpl/multi_test.go:45
Function
TestMultiExecute
(t *testing.T)
internal/text/template/multi_test.go:115
Function
TestMultiParse
(t *testing.T)
internal/text/template/multi_test.go:50
Function
TestNew
(t *testing.T)
internal/text/template/multi_test.go:343
Function
TestNextJsCtx
(t *testing.T)
htmltmpl/js_test.go:13
Function
TestNonEmptyRangeSerialization
(t *testing.T)
internal/tmpl/tree_test.go:187
Function
TestNumberParse
(t *testing.T)
internal/text/template/parse/parse_test.go:89
Function
TestNumbers
(t *testing.T)
htmltmpl/template_test.go:121
Function
TestOneDynamicWithEmptyStaticResultsInString
(t *testing.T)
internal/tmpl/tree_test.go:86
Function
TestOrder
(t *testing.T)
internal/fmtsort/sort_test.go:235
Function
TestOrphanedTemplate
Covers issue 22780.
htmltmpl/escape_test.go:2023
Function
TestParse
(t *testing.T)
htmltmpl/multi_test.go:207
Function
TestParse
(t *testing.T)
internal/text/template/multi_test.go:372
Function
TestParse
(t *testing.T)
internal/text/template/parse/parse_test.go:361
Function
TestParseCopy
Same as TestParse, but we copy the node first
internal/text/template/parse/parse_test.go:366
Function
TestParseFS
(t *testing.T)
htmltmpl/multi_test.go:88
Function
TestParseFS
(t *testing.T)
internal/text/template/multi_test.go:158
Function
TestParseFiles
(t *testing.T)
htmltmpl/multi_test.go:58
Function
TestParseFiles
(t *testing.T)
internal/text/template/multi_test.go:128
Function
TestParseFilesWithData
(t *testing.T)
htmltmpl/multi_test.go:123
Function
TestParseFilesWithData
(t *testing.T)
internal/text/template/multi_test.go:193
Function
TestParseGlob
(t *testing.T)
htmltmpl/multi_test.go:71
Function
TestParseGlob
(t *testing.T)
internal/text/template/multi_test.go:141
Function
TestParseGlobWithData
(t *testing.T)
htmltmpl/multi_test.go:131
Function
TestParseGlobWithData
(t *testing.T)
internal/text/template/multi_test.go:201
Function
TestParseWithComments
(t *testing.T)
internal/text/template/parse/parse_test.go:370
Function
TestParseZipFS
(t *testing.T)
htmltmpl/multi_test.go:139
Function
TestPipeToMethodIsEscaped
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
Function
TestPos
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
Function
TestPushCmd
(t *testing.T)
live/js_test.go:91
Function
TestRangeTemplateSerialization
(t *testing.T)
internal/tmpl/tree_test.go:220
Function
TestRecursiveExecute
(t *testing.T)
htmltmpl/exec_test.go:1761
Function
TestRecursiveExecuteViaMethod
(t *testing.T)
htmltmpl/exec_test.go:1803
Function
TestRedefineAfterNamedExecution
(t *testing.T)
htmltmpl/template_test.go:63
Function
TestRedefineAfterNonExecution
(t *testing.T)
htmltmpl/template_test.go:55
Function
TestRedefineEmptyAfterExecution
(t *testing.T)
htmltmpl/template_test.go:47
Function
TestRedefineNestedByNameAfterExecution
(t *testing.T)
htmltmpl/template_test.go:71
Function
TestRedefineNestedByTemplateAfterExecution
(t *testing.T)
htmltmpl/template_test.go:79
Function
TestRedefineNonEmptyAfterExecution
(t *testing.T)
htmltmpl/template_test.go:40
Function
TestRedefineOtherParsers
(t *testing.T)
htmltmpl/template_test.go:106
Function
TestRedefineSafety
(t *testing.T)
htmltmpl/template_test.go:87
Function
TestRedefineTopUse
(t *testing.T)
htmltmpl/template_test.go:98
Function
TestRedefinition
(t *testing.T)
htmltmpl/multi_test.go:170
Function
TestRedefinition
(t *testing.T)
internal/text/template/multi_test.go:307
Function
TestRedundantFuncs
(t *testing.T)
htmltmpl/escape_test.go:1867
Function
TestRendered
(t *testing.T)
live/internal/phx/reply_test.go:28
Function
TestReplyDiff
(t *testing.T)
live/internal/phx/reply_test.go:50
Function
TestShowCmd
(t *testing.T)
live/js_test.go:22
Function
TestSkipCSSSpace
(t *testing.T)
htmltmpl/css_test.go:127
Function
TestSkipEscapeComments
(t *testing.T)
htmltmpl/template_test.go:165
Function
TestSkipFuncCheck
(t *testing.T)
internal/text/template/parse/parse_test.go:424
Function
TestSrcsetFilter
(t *testing.T)
htmltmpl/url_test.go:90
Function
TestStringer
(t *testing.T)
htmltmpl/content_test.go:420
Function
TestStringsInScriptsWithJsonContentTypeAreCorrectlyEscaped
(t *testing.T)
htmltmpl/template_test.go:127
Function
TestStripTags
(t *testing.T)
htmltmpl/html_test.go:50
← previous
next →
1,101–1,200 of 1,499, ranked by callers