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
↓ 2 callers
Method
evalCall
evalCall executes a function or method call. If it's a method, fun already has the receiver bound, so it looks just like a function call. The arg list
internal/text/template/exec.go:775
↓ 2 callers
Method
evalChainNode
(dot reflect.Value, chain *parse.ChainNode, args []parse.Node, final reflect.Value)
internal/text/template/exec.go:636
↓ 2 callers
Method
evalEmptyInterface
(dot reflect.Value, n parse.Node)
internal/text/template/exec.go:1035
↓ 2 callers
Method
evalField
evalField evaluates an expression like (.Field) or (.Field arg1 arg2). The 'final' argument represents the return value from the preceding value of th
internal/text/template/exec.go:685
↓ 2 callers
Method
execAll
(binding)
public/js/index.js:3863
↓ 2 callers
Method
execNewMounted
()
public/js/index.js:3973
↓ 2 callers
Method
expandURL
(to)
public/js/index.js:4252
↓ 2 callers
Function
filterSrcsetElement
(s string, left int, right int, b *strings.Builder)
htmltmpl/url.go:185
↓ 2 callers
Method
flushPendingOps
()
public/js/index.js:5605
↓ 2 callers
Function
fuzz
(fatalf func(string, ...any), data string)
internal/tmpl/fuzz/shared.go:33
↓ 2 callers
Method
getChildById
(id)
public/js/index.js:4084
↓ 2 callers
Method
getHref
()
public/js/index.js:5260
↓ 2 callers
Method
getScheduledSubmit
(formEl)
public/js/index.js:4574
↓ 2 callers
Function
hasClass
(element, name)
public/js/index.js:277
↓ 2 callers
Function
hasLeftTrimMarker
(s string)
internal/text/template/parse/lex.go:680
↓ 2 callers
Method
hasReceived
(status)
public/js/index.js:422
↓ 2 callers
Function
hasRightTrimMarker
(s string)
internal/text/template/parse/lex.go:684
↓ 2 callers
Method
idealConstant
idealConstant is called to return the value of a number in a context where we don't know the type. In that case, the syntax of the number tells us its
internal/text/template/exec.go:596
↓ 2 callers
Method
ifControl
If: {{if pipeline}} itemList {{end}} {{if pipeline}} itemList {{else}} itemList {{end}} If keyword is past.
internal/text/template/parse/parse.go:569
↓ 2 callers
Function
indexArg
indexArg checks if a reflect.Value can be used as an index, and converts it to int if possible.
internal/text/template/funcs.go:185
↓ 2 callers
Function
indexTagEnd
indexTagEnd finds the index of a special tag end in a case insensitive way, or returns -1
htmltmpl/transition.go:230
↓ 2 callers
Function
indirectToJSONMarshaler
indirectToJSONMarshaler returns the value, after dereferencing as many times as necessary to reach the base type (or nil) or an implementation of json
htmltmpl/js.go:131
↓ 2 callers
Function
indirectToStringerOrError
indirectToStringerOrError returns the value, after dereferencing as many times as necessary to reach the base type (or nil) or an implementation of fm
htmltmpl/content.go:139
↓ 2 callers
Function
intLike
(typ reflect.Kind)
internal/text/template/funcs.go:174
↓ 2 callers
Function
isEmpty
(obj)
public/js/index.js:1543
↓ 2 callers
Method
isErrored
()
public/js/index.js:623
↓ 2 callers
Function
isHTMLSpace
isHTMLSpace is true iff c is a whitespace character per https://infra.spec.whatwg.org/#ascii-whitespace
htmltmpl/url.go:177
↓ 2 callers
Function
isInScriptLiteral
isInScriptLiteral returns true if s is one of the literal states within a <script> tag, and as such occurances of "<!--", "<script", and "</script" ne
htmltmpl/context.go:181
↓ 2 callers
Function
isJSType
isJSType reports whether the given MIME type should be considered JavaScript. It is used to determine whether a script tag with a type attribute is a
htmltmpl/js.go:403
↓ 2 callers
Method
isJoining
()
public/js/index.js:629
↓ 2 callers
Method
isLeaving
()
public/js/index.js:632
↓ 2 callers
Method
isPhxView
(el)
public/js/index.js:5090
↓ 2 callers
Function
isSafeURL
isSafeURL is true if s is a relative URL or if URL has a protocol in (http, https, mailto).
htmltmpl/url.go:47
↓ 2 callers
Method
joinChild
(el)
public/js/index.js:4103
↓ 2 callers
Method
joinNewChildren
()
public/js/index.js:4081
↓ 2 callers
Function
joinRange
(c0 context, rc *rangeContext)
htmltmpl/escape.go:551
↓ 2 callers
Method
joinRootViews
()
public/js/index.js:5041
↓ 2 callers
Function
leftTrimLength
leftTrimLength returns the length of the spaces at the beginning of the string.
internal/text/template/parse/lex.go:317
↓ 2 callers
Function
lex
lex creates a new scanner for the input string.
internal/text/template/parse/lex.go:241
↓ 2 callers
Function
lexFieldOrVariable
lexFieldOrVariable scans a field or variable: [.$]Alphanumeric. The . or $ has been scanned.
internal/text/template/parse/lex.go:525
↓ 2 callers
Function
lt
lt evaluates the comparison a < b.
internal/text/template/funcs.go:528
↓ 2 callers
Method
maybeAddNewHook
(el, force)
public/js/index.js:4016
↓ 2 callers
Method
maybeMounted
(el)
public/js/index.js:4008
↓ 2 callers
Method
maybePendingRemove
(node)
public/js/index.js:3136
↓ 2 callers
Method
maybeScroll
(scroll)
public/js/index.js:5403
↓ 2 callers
Method
mergeDiff
(diff)
public/js/index.js:3264
↓ 2 callers
Method
nDyn
nDyn returns the number of dynamic elements of t.
internal/tmpl/tree.go:98
↓ 2 callers
Method
new
new is the implementation of New, without the lock.
htmltmpl/template.go:312
↓ 2 callers
Method
newAction
(pos Pos, line int, pipe *PipeNode)
internal/text/template/parse/node.go:266
↓ 2 callers
Method
newBool
(pos Pos, true bool)
internal/text/template/parse/node.go:618
↓ 2 callers
Method
newBreak
(pos Pos, line int)
internal/text/template/parse/node.go:949
↓ 2 callers
Method
newCommand
(pos Pos)
internal/text/template/parse/node.go:299
↓ 2 callers
Method
newContinue
(pos Pos, line int)
internal/text/template/parse/node.go:966
↓ 2 callers
Method
newDot
(pos Pos)
internal/text/template/parse/node.go:459
↓ 2 callers
Method
newEnd
(pos Pos)
internal/text/template/parse/node.go:817
↓ 2 callers
Method
newField
(pos Pos, ident string)
internal/text/template/parse/node.go:530
↓ 2 callers
Function
newIdentCmd
newIdentCmd produces a command containing a single identifier node.
htmltmpl/escape.go:418
↓ 2 callers
Method
newNil
(pos Pos)
internal/text/template/parse/node.go:493
↓ 2 callers
Method
newNumber
(pos Pos, text string, typ itemType)
internal/text/template/parse/node.go:659
↓ 2 callers
Method
newPipeline
(pos Pos, line int, vars []*VariableNode)
internal/text/template/parse/node.go:199
↓ 2 callers
Method
newString
(pos Pos, orig, text string)
internal/text/template/parse/node.go:789
↓ 2 callers
Function
next
()
public/js/index.js:225
↓ 2 callers
Function
nilCompare
nilCompare checks whether either value is nil. If not, the boolean is false. If either value is nil, the boolean is true and the integer is the compar
internal/fmtsort/sort.go:189
↓ 2 callers
Method
onAllChildJoinsComplete
()
public/js/index.js:4126
↓ 2 callers
Method
onJoinComplete
({ live_patch }, html, streams, events)
public/js/index.js:3945
↓ 2 callers
Method
onJoinError
(resp)
public/js/index.js:4283
↓ 2 callers
Method
onLivePatch
(redir)
public/js/index.js:4247
↓ 2 callers
Method
onMessage
(_event, payload, _ref)
public/js/index.js:580
↓ 2 callers
Method
onNodeDiscarded
(el)
public/js/index.js:3130
↓ 2 callers
Method
onOpen
(callback)
public/js/index.js:1062
↓ 2 callers
Function
parseFS
(t *Template, fsys fs.FS, patterns []string)
htmltmpl/template.go:504
↓ 2 callers
Function
parseFS
(t *Template, fsys fs.FS, patterns []string)
internal/text/template/helper.go:151
↓ 2 callers
Function
parseGlob
parseGlob is the implementation of the function and method ParseGlob.
htmltmpl/template.go:467
↓ 2 callers
Function
parseGlob
parseGlob is the implementation of the function and method ParseGlob.
internal/text/template/helper.go:123
↓ 2 callers
Method
parseJSON
(resp)
public/js/index.js:678
↓ 2 callers
Method
parseTemplateName
(token item, context string)
internal/text/template/parse/parse.go:668
↓ 2 callers
Function
prepareArg
prepareArg checks if value can be used as an argument of type argType, and converts an invalid value to appropriate zero if possible.
internal/text/template/funcs.go:157
↓ 2 callers
Function
printableValue
printableValue returns the, possibly indirected, interface value inside v that is best for a call to formatted printer.
internal/text/template/exec.go:1106
↓ 2 callers
Method
protocol
()
public/js/index.js:1019
↓ 2 callers
Method
pushFormSubmit
(formEl, targetCtx, phxEvent, submitter, opts, onReply)
public/js/index.js:4622
↓ 2 callers
Method
pushHistoryPatch
(href, linkState, targetEl)
public/js/index.js:5421
↓ 2 callers
Method
pushHookEvent
(targetCtx, event, payload, onReply)
public/js/index.js:4466
↓ 2 callers
Method
pushLinkPatch
(href, targetEl, callback)
public/js/index.js:4708
↓ 2 callers
Method
readNextChunk
()
public/js/index.js:1478
↓ 2 callers
Method
recover
recover is the handler that turns panics into returns from the top level of Parse.
internal/text/template/parse/parse.go:206
↓ 2 callers
Method
recursiveCIDToString
(components, cid, onlyCids)
public/js/index.js:3395
↓ 2 callers
Method
recursiveToString
(rendered, components = rendered[COMPONENTS], onlyCids)
public/js/index.js:3246
↓ 2 callers
Function
removeClass
(element, name)
public/js/index.js:287
↓ 2 callers
Function
removeElement
(element)
public/js/index.js:297
↓ 2 callers
Method
renderContainer
(diff, kind)
public/js/index.js:4163
↓ 2 callers
Method
replyEventName
(ref)
public/js/index.js:617
↓ 2 callers
Function
safeCall
safeCall runs fun.Call(args), and returns the resulting value and error, if any. If the call panics, the panic value is returned as an error.
internal/text/template/funcs.go:357
↓ 2 callers
Method
scanNumber
()
internal/text/template/parse/lex.go:600
↓ 2 callers
Method
sendHeartbeat
()
public/js/index.js:1257
↓ 2 callers
Method
setHref
(href)
public/js/index.js:3799
↓ 2 callers
Method
setTopVar
setTopVar overwrites the top-nth variable on the stack. Used by range iterations.
internal/text/template/exec.go:92
↓ 2 callers
Method
simplifyComplex
simplifyComplex pulls out any other types that are represented by the complex number. These all require that the imaginary part be zero.
internal/text/template/parse/node.go:747
↓ 2 callers
Method
size
()
public/js/index.js:5602
↓ 2 callers
Method
skipCIDSibling
(el)
public/js/index.js:3185
↓ 2 callers
Function
skipCSSSpace
skipCSSSpace returns a suffix of c, skipping over a single space.
htmltmpl/css.go:128
← previous
next →
401–500 of 1,499, ranked by callers