MCPcopy Create free account
hub / github.com/gioui/gio / newStringSource

Function newStringSource

widget/selectable.go:31–35  ·  view source on GitHub ↗
(str string)

Source from the content-addressed store, hash-verified

29var _ textSource = stringSource{}
30
31func newStringSource(str string) stringSource {
32 return stringSource{
33 reader: strings.NewReader(str),
34 }
35}
36
37func (s stringSource) Changed() bool {
38 return false

Callers 2

initializeMethod · 0.85
SetTextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…