Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bootdotdev/bootdev
/ initModel
Function
initModel
render/models.go:36–44 ·
view source on GitHub ↗
(isSubmit bool)
Source
from the content-addressed store, hash-verified
34
}
35
36
func
initModel(isSubmit bool) rootModel {
37
s := spinner.New()
38
s.Spinner = spinner.Dot
39
return
rootModel{
40
spinner: s,
41
isSubmit: isSubmit,
42
steps: []stepModel{},
43
}
44
}
Callers
1
StartRenderer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected