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
↓ 1 callers
Method
buildDiffHTML
(container, html, phxUpdate, targetContainer)
public/js/index.js:3199
↓ 1 callers
Function
builtinFuncs
builtinFuncsOnce lazily computes & caches the builtinFuncs map. TODO: revert this back to a global map once golang.org/issue/2559 is fixed.
internal/text/template/funcs.go:72
↓ 1 callers
Method
cachedFindComponent
(cid, cdiff, oldc, newc, cache)
public/js/index.js:3281
↓ 1 callers
Function
camelCase
(string)
public/js/index.js:239
↓ 1 callers
Function
canCompare
canCompare reports whether v1 and v2 are both the same kind, or one is nil. Called only when dealing with nillable types, or there's about to be an er
internal/text/template/funcs.go:452
↓ 1 callers
Method
cancel
()
public/js/index.js:2111
↓ 1 callers
Function
chanMap
()
internal/fmtsort/sort_test.go:222
↓ 1 callers
Method
checkPipeline
(pipe *PipeNode, context string)
internal/text/template/parse/parse.go:509
↓ 1 callers
Function
cleanupFromEl
(fromEl, curFromNodeChild, curFromNodeKey)
public/js/index.js:2721
↓ 1 callers
Method
clearActionLine
()
internal/text/template/parse/parse.go:383
↓ 1 callers
Method
clearFiles
(inputEl)
public/js/index.js:2202
↓ 1 callers
Method
command
command: operand (space operand)* space-separated arguments up to a pipeline character or right delimiter. we consume the pipe character but leave
internal/text/template/parse/parse.go:688
↓ 1 callers
Method
commit
commit applies changes to actions and template calls needed to contextually autoescape content and adds any derived templates to the set.
htmltmpl/escape.go:921
↓ 1 callers
Method
componentPatch
(diff, cid)
public/js/index.js:4171
↓ 1 callers
Method
componentToString
(cid)
public/js/index.js:3334
↓ 1 callers
Method
comprehensionToBuffer
(rendered, templates, output)
public/js/index.js:3366
↓ 1 callers
Method
computeOutCtx
computeOutCtx takes a template and its start context and computes the output context while storing any inferences in e.
htmltmpl/escape.go:676
↓ 1 callers
Method
connectParams
(liveReferer)
public/js/index.js:3809
↓ 1 callers
Method
connectionState
()
public/js/index.js:1206
↓ 1 callers
Function
containsSpecialScriptTag
(s []byte)
htmltmpl/escape.go:746
↓ 1 callers
Function
contextAfterText
contextAfterText starts in context c, consumes some tokens from the front of s, then returns the context after those tokens and the unprocessed suffix
htmltmpl/escape.go:834
↓ 1 callers
Method
continueControl
Continue: {{continue}} Continue keyword is past.
internal/text/template/parse/parse.go:441
↓ 1 callers
Function
createElementNS
(name, namespaceURI)
public/js/index.js:2519
↓ 1 callers
Function
createFragmentFromRange
(str)
public/js/index.js:2480
↓ 1 callers
Function
createFragmentFromTemplate
(str)
public/js/index.js:2475
↓ 1 callers
Function
createFragmentFromWrap
(str)
public/js/index.js:2488
↓ 1 callers
Function
createValueFuncs
createValueFuncs turns a FuncMap into a map[string]reflect.Value
internal/text/template/funcs.go:80
↓ 1 callers
Function
debug
(view, kind, msg, obj)
public/js/index.js:1519
↓ 1 callers
Method
destroyAllViews
()
public/js/index.js:5114
↓ 1 callers
Method
destroyDescendent
(id)
public/js/index.js:4094
↓ 1 callers
Function
detectDuplicateIds
()
public/js/index.js:1508
↓ 1 callers
Method
dispatch
(ctx context.Context, msg *phx.Msg)
live/liveview.go:363
↓ 1 callers
Method
dispatchClickAway
(e, clickStartedAt)
public/js/index.js:5327
↓ 1 callers
Method
displayError
()
public/js/index.js:4331
↓ 1 callers
Method
doMutableMerge
(target, source)
public/js/index.js:3311
↓ 1 callers
Method
dropActiveElement
(view)
public/js/index.js:5152
↓ 1 callers
Method
dropPendingRefs
()
public/js/index.js:3939
↓ 1 callers
Function
eatTagName
eatTagName returns the largest j such that s[i:j] is a tag name and the tag type.
htmltmpl/transition.go:602
↓ 1 callers
Method
elseControl
Else: {{else}} Else keyword is past.
internal/text/template/parse/parse.go:608
↓ 1 callers
Method
endControl
End: {{end}} End keyword is past.
internal/text/template/parse/parse.go:599
↓ 1 callers
Method
endpointURL
()
public/js/index.js:738
↓ 1 callers
Function
escFnsEq
escFnsEq reports whether the two escaping functions are equivalent.
htmltmpl/escape.go:370
↓ 1 callers
Method
escape
escape escapes a template node.
htmltmpl/escape.go:136
↓ 1 callers
Method
escapeAction
escapeAction escapes an action template node.
htmltmpl/escape.go:169
↓ 1 callers
Function
escapeSpecialScriptTags
(s []byte)
htmltmpl/escape.go:750
↓ 1 callers
Method
escapeTemplate
escapeTemplate escapes a {{template}} call node.
htmltmpl/escape.go:626
↓ 1 callers
Method
evalBool
(typ reflect.Type, n parse.Node)
internal/text/template/exec.go:970
↓ 1 callers
Method
evalCommand
(dot reflect.Value, cmd *parse.CommandNode, final reflect.Value)
internal/text/template/exec.go:557
↓ 1 callers
Method
evalComplex
(typ reflect.Type, n parse.Node)
internal/text/template/exec.go:1025
↓ 1 callers
Method
evalFloat
(typ reflect.Type, n parse.Node)
internal/text/template/exec.go:1014
↓ 1 callers
Method
evalInteger
(typ reflect.Type, n parse.Node)
internal/text/template/exec.go:992
↓ 1 callers
Method
evalString
(typ reflect.Type, n parse.Node)
internal/text/template/exec.go:981
↓ 1 callers
Method
evalUnsignedInteger
(typ reflect.Type, n parse.Node)
internal/text/template/exec.go:1003
↓ 1 callers
Function
eventConstructor
()
public/js/index.js:1307
↓ 1 callers
Method
execute
(wr io.Writer, data any)
internal/text/template/exec.go:226
↓ 1 callers
Method
executeTree
(data any)
internal/text/template/golive.go:23
↓ 1 callers
Method
expectOneOf
expectOneOf consumes the next token and guarantees it has one of the required types.
internal/text/template/parse/parse.go:182
↓ 1 callers
Method
extract
(diff)
public/js/index.js:3227
↓ 1 callers
Method
extractMeta
(el, meta, value)
public/js/index.js:4480
↓ 1 callers
Method
flushSendBuffer
()
public/js/index.js:1265
↓ 1 callers
Method
formsForRecovery
(html)
public/js/index.js:4731
↓ 1 callers
Method
getBindingPrefix
()
public/js/index.js:5020
↓ 1 callers
Method
getComponent
(diff, cid)
public/js/index.js:3261
↓ 1 callers
Method
getDescendentByEl
(el)
public/js/index.js:4087
↓ 1 callers
Method
getEntryDataURL
(inputEl, ref, callback)
public/js/index.js:2172
↓ 1 callers
Method
getHookCallbacks
(name)
public/js/index.js:5011
↓ 1 callers
Method
getSession
()
public/js/index.js:3822
↓ 1 callers
Method
getSocket
()
public/js/index.js:4870
↓ 1 callers
Method
getStatic
()
public/js/index.js:3825
↓ 1 callers
Function
getStyleProp
(name)
public/js/index.js:256
↓ 1 callers
Function
getVendorProp
(name)
public/js/index.js:244
↓ 1 callers
Method
getViewByEl
(el)
public/js/index.js:5107
↓ 1 callers
Method
goLivePostprocessNames
()
internal/text/template/golive.go:75
↓ 1 callers
Function
goodName
goodName reports whether the function name is a valid identifier.
internal/text/template/funcs.go:124
↓ 1 callers
Function
handleClick
(element, targetModifierKey)
public/js/index.js:1326
↓ 1 callers
Method
handleInfo
handleInfo receives internal messages then runs: HandleInfo => Render on the View before sending a diff back to the client
live/liveview.go:690
↓ 1 callers
Function
handleNodeAdded
(el)
public/js/index.js:2701
↓ 1 callers
Method
handleUpload
(ctx context.Context, up *phx.UploadMsg)
live/liveview.go:710
↓ 1 callers
Method
hasUploadsInProgress
(formEl)
public/js/index.js:2176
↓ 1 callers
Method
heartbeatTimeout
()
public/js/index.js:1111
↓ 1 callers
Method
hideLoader
()
public/js/index.js:3866
↓ 1 callers
Function
indexTree
(node)
public/js/index.js:2687
↓ 1 callers
Function
indirect
indirect returns the value, after dereferencing as many times as necessary to reach the base type (or nil).
htmltmpl/content.go:116
↓ 1 callers
Method
initAdapterUpload
(resp, onError, liveSocket2)
public/js/index.js:2245
↓ 1 callers
Function
initMaxExecDepth
()
internal/text/template/exec.go:27
↓ 1 callers
Method
inputsAwaitingPreflight
(formEl)
public/js/index.js:2229
↓ 1 callers
Function
isCSSSpace
isCSSSpace reports whether b is a CSS space char as defined in wc.
htmltmpl/css.go:149
↓ 1 callers
Method
isClosed
()
public/js/index.js:620
↓ 1 callers
Method
isComponentOnlyDiff
(diff)
public/js/index.js:3255
↓ 1 callers
Method
isDebugDisabled
()
public/js/index.js:4843
↓ 1 callers
Method
isDone
()
public/js/index.js:1475
↓ 1 callers
Function
isEqualObj
(obj1, obj2)
public/js/index.js:1542
↓ 1 callers
Function
isHTMLSpaceOrASCIIAlnum
(c byte)
htmltmpl/url.go:181
↓ 1 callers
Function
isHexInt
(s string)
internal/text/template/exec.go:627
↓ 1 callers
Function
isInTag
isInTag return whether s occurs solely inside an HTML tag.
htmltmpl/context.go:170
↓ 1 callers
Method
isMember
(topic, event, payload, joinRef)
public/js/index.js:583
↓ 1 callers
Method
isPreflighted
(fileEl, file)
public/js/index.js:2071
↓ 1 callers
Method
isProfileEnabled
()
public/js/index.js:4837
↓ 1 callers
Function
isRuneInt
(s string)
internal/text/template/exec.go:623
↓ 1 callers
Method
joinDead
()
public/js/index.js:4261
← previous
next →
601–700 of 1,499, ranked by callers