Documentation ¶ Index ¶ func UI(codeRoot http.FileSystem, ops ...ui.Option) ui.UI type API func (a *API) ListDir(path string) ([]FileInfo, error) func (a *API) LoadText(path string) (string, error) func (a *API) SaveText(path string, text string) error type FileInfo Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func UI ¶ func UI(codeRoot http.FileSystem, ops ...ui.Option) ui.UI Types ¶ type API ¶ type API struct { // contains filtered or unexported fields } func (*API) ListDir ¶ func (a *API) ListDir(path string) ([]FileInfo, error) func (*API) LoadText ¶ func (a *API) LoadText(path string) (string, error) func (*API) SaveText ¶ func (a *API) SaveText(path string, text string) error type FileInfo ¶ type FileInfo struct { Name string `json:"name"` Path string `json:"path"` IsDir bool `json:"isDir"` } Source Files ¶ View all Source files code.go Click to show internal directories. Click to hide internal directories.