Documentation
¶
Index ¶
- func GetConnection() (*sql.DB, error)
- func IdDoesNotExistError(objectName string, id int64) error
- type CodeStore
- func (c CodeStore) CodifyText(codeId store.CodeId, documentId store.FileId, text string, ...) (store.TextId, error)
- func (c CodeStore) CreateCode(name string, containerId store.ContainerId) (store.CodeId, error)
- func (c CodeStore) CreateContainer(id store.ProjectId) (store.ContainerId, error)
- func (c CodeStore) DeleteText(textId store.TextId) error
- func (c CodeStore) GetCode(codeId store.CodeId) (store.Code, error)
- func (c CodeStore) GetContainer(containerId store.ContainerId) (store.CodeContainer, error)
- func (c CodeStore) GetContainers(id store.ProjectId) ([]store.CodeContainer, error)
- type DefaultFileSys
- type FileStore
- type FileSys
- type ProjectStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConnection ¶
func IdDoesNotExistError ¶
Types ¶
type CodeStore ¶
type CodeStore struct {
// contains filtered or unexported fields
}
func NewCodeStore ¶
func (CodeStore) CodifyText ¶
func (CodeStore) CreateCode ¶
func (CodeStore) CreateContainer ¶
func (CodeStore) GetContainer ¶
func (c CodeStore) GetContainer(containerId store.ContainerId) (store.CodeContainer, error)
func (CodeStore) GetContainers ¶
type DefaultFileSys ¶
type DefaultFileSys struct { }
type ProjectStore ¶
type ProjectStore struct {
// contains filtered or unexported fields
}
func NewProjectStore ¶
func NewProjectStore(con *sql.DB) ProjectStore
func (ProjectStore) CreateProject ¶
func (ProjectStore) GetProject ¶
func (ProjectStore) GetProjects ¶
func (p ProjectStore) GetProjects() ([]store.Project, error)
Click to show internal directories.
Click to hide internal directories.